From 13d8d66871a52f3e1fddb1d3ca86daee048c5e22 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 21 Dec 2020 19:55:29 +0100 Subject: [PATCH] Use ifmain hook to run app Resolves https://git.vvvvvvaria.org/varia/varia-library-website/issues/1. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 1957aff..dee1e9b 100644 --- a/makefile +++ b/makefile @@ -5,6 +5,6 @@ setup: .venv/bin/pip install -r requirements.txt run: - @FLASK_APP=library.page .venv/bin/flask run + @cd library && python page.py .PHONY: setup run