aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-25 09:17:47 +0000
committerng0 <ng0@n0.is>2019-02-25 09:18:21 +0000
commitd848c1632f86ae36e5c7e3d9084c1938e3bbfe78 (patch)
tree464d7ceb1d32ffcc4f71ddedf06664046e5075c0
parent34c766886b9a6f87bd34329434c5ab7d6e65421d (diff)
downloadwww-d848c1632f86ae36e5c7e3d9084c1938e3bbfe78.tar.gz
www-d848c1632f86ae36e5c7e3d9084c1938e3bbfe78.zip
Makefile: use python http.server for make run
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b80529c..866377f6 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,8 @@ current_dir = $(shell pwd)
61 61
62run: all 62run: all
63 @[ "$(BROWSER)" ] || ( echo "You need to export the environment variable 'BROWSER' to run this."; exit 1 ) 63 @[ "$(BROWSER)" ] || ( echo "You need to export the environment variable 'BROWSER' to run this."; exit 1 )
64 $(RUN_BROWSER) $(current_dir)/rendered/en/index.html 64 $(RUN_BROWSER) http://0.0.0.0:8000 &
65 cd rendered && $(PYTHON) -m http.server
65 66
66 67
67# docker-all: Build using a docker image which contains all the needed packages. 68# docker-all: Build using a docker image which contains all the needed packages.