diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-05 21:25:40 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-05 21:25:40 -0500 |
commit | 208f93153defad4677a9a92f95cb42f7dc508402 (patch) | |
tree | a3ec18f49081a506fc84c776d480d50845b9134a | |
parent | 1d4aaed216e2314a4b14e10306f1ee098fad3283 (diff) |
Makefile: Add prd-install.
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -57,6 +57,15 @@ prd-venv: ${VENV_DIR}-prd\\" .PHONY: prd-venv +prd-install: + ssh root@${PRD_HOST} \\"mkdir -p /var/www/nfsw/wheel/\\" + scp dist/${PRD_WHEEL} \ + root@${PRD_HOST}:/var/www/nfsw/wheel/ + ssh root@${PRD_HOST} \\". ${VENV_DIR}-prd/bin/activate \ + && pip install /var/www/nfsw/wheel/${PRD_WHEEL} \\" +.PHONY: prd-install + + clean: rm -rf build/ dist/ nfsw.egg-info/ find ./ -type d -name '__pycache__' -exec rm -rf {} + |