summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-11-05 21:25:40 -0500
committerrsiddharth <s@ricketyspace.net>2019-11-05 21:25:40 -0500
commit208f93153defad4677a9a92f95cb42f7dc508402 (patch)
treea3ec18f49081a506fc84c776d480d50845b9134a /Makefile
parent1d4aaed216e2314a4b14e10306f1ee098fad3283 (diff)
Makefile: Add prd-install.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 95c9590..f293d4b 100644
--- a/Makefile
+++ b/Makefile
@@ -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 {} +