You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alicestrt 9a8160dca0 | 6 years ago | |
---|---|---|
leafling@e0fdf8e42f | 6 years ago | |
lib | 6 years ago | |
makeserver3@c3f1daa0ff | 6 years ago | |
timetoeat@e0cb5358e6 | 6 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 6 years ago | |
README.md | 6 years ago | |
requirements.txt | 6 years ago | |
system_requirements.txt | 6 years ago |
README.md
food.alicestrete.me
install
$ git clone --recursive https://git.xpub.nl/alicestrt/food.git
$ cd food
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ cd makeserver3
$ python3 setup.py install
$ cd ..
$ cd timetoeat
$ makeserver3
server stuff
How to get to the server:
- ssh kstraat
Location of files:
- project files: /var/www/food.alicestrete.me
- supervisor config: /etc/supervisor/conf.d/timetoeat.conf
- nginx config: /etc/sites-available/food.alicestrete.me
- makeserver logs: /var/log/timetoeat
Commands:
- to reload after editing nginx config: sudo nginx -s reload
- to check status of makeserver: sudo supervisorctl status
- to reload supervisor: sudo supervisorctl reload
- to restart the makeserver: sudo supervisorctl restart timetoeat:makeserver