Update INSTALL.md

This commit is contained in:
Robert Einsle 2019-02-19 14:22:59 +01:00
parent 4e66551ac9
commit 34a4a0b9aa

View File

@ -104,7 +104,7 @@ chmod-socket = 660
log-date = true log-date = true
``` ```
Create it for /etc/uwsgi/apps-available/carom and carom-int and link it Create it for /etc/uwsgi/apps-available/carom.ini and carom-int.ini and link it
to /etc/uwsgi/apps-enabled/ to /etc/uwsgi/apps-enabled/
systemctl restart uwsgi systemctl restart uwsgi
@ -152,3 +152,15 @@ Create it for /etc/ngin/sites-available/carom... and carom-int... and link it
to /etc/ngin/sites-enabled/ to /etc/ngin/sites-enabled/
systemctl restart nginx systemctl restart nginx
- [ ] Create update.sh in carom and carom-int root mkdir
```
pushd /srv/carom/
git pull
pipenv update
pipenv run ./manage.py migrate
pipenv run ./manage.py collectstatic --noinput
touch /etc/uwsgi/apps-enabled/carom.ini
popd
```