A magical website which combines various elements of my research into meal replacements
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 removed extra folder 5 years ago
leafling@e0fdf8e42f added leafling and leafygal 5 years ago
lib added leafling and leafygal 5 years ago
makeserver3@c3f1daa0ff added makeserver .gitmodules 5 years ago
timetoeat@e0cb5358e6 removed extra folder 5 years ago
.gitignore added new ignores 5 years ago
.gitmodules renamed project 5 years ago
README.md added commands 5 years ago
requirements.txt added pillow to req 5 years ago
system_requirements.txt added system req 5 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