From f4441189afdf08b91e3254bf09790652a17139c8 Mon Sep 17 00:00:00 2001 From: varia server Date: Wed, 1 Sep 2021 12:34:47 +0200 Subject: [PATCH] editing the makefile for the web-interface with an update option --- web-interface/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/web-interface/Makefile b/web-interface/Makefile index e987bdb..0707081 100644 --- a/web-interface/Makefile +++ b/web-interface/Makefile @@ -1,13 +1,5 @@ -all: run - -run: - python3 -m http.server +all: update update: - python3 update.py - -upload: - scp -r ./static/Unfolded.html ./static/css/ ./static/js/ ./static/fonts/ varia:public_html/volumetric-regimes/ - -uploadimages: - scp -r ./static/images/ varia:public_html/volumetric-regimes/ + git pull + supervisorctl restart volumetric-regimes