From d848c1632f86ae36e5c7e3d9084c1938e3bbfe78 Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 25 Feb 2019 09:17:47 +0000 Subject: Makefile: use python http.server for make run --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2b80529c..866377f6 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,8 @@ current_dir = $(shell pwd) run: all @[ "$(BROWSER)" ] || ( echo "You need to export the environment variable 'BROWSER' to run this."; exit 1 ) - $(RUN_BROWSER) $(current_dir)/rendered/en/index.html + $(RUN_BROWSER) http://0.0.0.0:8000 & + cd rendered && $(PYTHON) -m http.server # docker-all: Build using a docker image which contains all the needed packages. -- cgit v1.2.3