added commands

master
alicestrt 6 years ago
parent e87a3cce8f
commit 75dfb18383

@ -14,3 +14,20 @@ $ 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

Loading…
Cancel
Save