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 53a4fa1b87 Merge branch 'master' of https://git.xpub.nl/alicestrt/food 6 years ago
leafling@e0fdf8e42f added leafling and leafygal 6 years ago
lib added leafling and leafygal 6 years ago
makeserver3@c3f1daa0ff added makeserver .gitmodules 6 years ago
scripts added scripts 6 years ago
timetoeat@2f04d9afce updating with new tiles 6 years ago
.gitignore added new ignores 6 years ago
.gitmodules renamed project 6 years ago
README.md added commands 6 years ago
requirements.txt added pillow to req 6 years ago
system_requirements.txt added system req 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