From 34a4a0b9aadb2723fed73ece8f1d55220ca28c1d Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Tue, 19 Feb 2019 14:22:59 +0100 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 8d53563..94308f7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -104,7 +104,7 @@ chmod-socket = 660 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/ 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/ 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 +```