summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e568e8..bfbe420 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,11 @@ prd-initdb:
.PHONY: prd-initdb
+prd-config:
+ ssh root@${PRD_HOST} \\"echo \"SECRET_KEY=b'`openssl rand -hex 16`'\" \
+ > ${VENV_DIR}-prd/var/nfsw-instance/config.py\\"
+.PHONY: prd-config
+
prd-rcd:
ssh root@${PRD_HOST} mkdir -p -m 755 /etc/uwsgi
rsync ${UWSGI_INI} root@${PRD_HOST}:/${UWSGI_INI}