diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-16 17:48:01 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-16 17:48:01 -0500 |
commit | 814aaa4e4a8b6dab09cac3928c68c9adf2d4d2b9 (patch) | |
tree | c7474c6418015f54e8a9c95f9b226ba5ca667f51 /Makefile | |
parent | bea87b705d6089d805b068113ef8b8c7a097be17 (diff) |
Makefile: Add prd-config.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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} |