Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to properly install on server #52

Open
lee2sman opened this issue Sep 27, 2023 · 10 comments
Open

how to properly install on server #52

lee2sman opened this issue Sep 27, 2023 · 10 comments

Comments

@lee2sman
Copy link

Pardon this beginner-level question.

I'm created a small tilde server and a bit unsure the install process. Does botany get placed inside a shared directory that all users have access to? or is there some other system i should be setting up? Perhaps more explicit install instructions can be added to the README.md (I'd be happy to contribute if i knew the answer)

@lee2sman
Copy link
Author

I did, but I have since closed that server as it was for a temporary group. I stupidly forgot to document my exact process, so I'm working from memory, but here is best of my knowledge:

  1. create a botany user. maybe ~botanist
  2. git clone this repo
  3. make a shortcut that everyone on the server can run, such as creating a script file named botany in the /usr/bin/ path
  4. The contents of this script is a single line that runs the botany.py script in the ~botany user's botany directory. So for example my script was /home/botanist/botany/botany.py
  5. Make sure you've set permissions on botany.py so everyone can run it.

@lee2sman
Copy link
Author

There's also a 6 year old unmerged PR with an install script worth reviewing: #23
As I don't have an active server I'm playing with now I can't test.

@lee2sman
Copy link
Author

Ok, report back :)

@lee2sman
Copy link
Author

Ok, yes confirming. I checked on ctrl-c.club to see if we have botany and we do and ran it and planted a seed! Output of ls -l ~/.botany for me is

-rw-rw-r-- 1 me me
when i run ls -l on another user's folder i get the exact same output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@lee2sman and others