From 208f93153defad4677a9a92f95cb42f7dc508402 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 5 Nov 2019 21:25:40 -0500 Subject: Makefile: Add prd-install. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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 {} + -- cgit v1.2.3