From ef9f841e11c9cb700293fb940b06888a60a2ec85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Sun, 28 Nov 2021 23:37:39 +0100 Subject: [PATCH] Use flask run rather than custom manage command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17676cc0..0a4c561a 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ update: remove-install-stamp install ## Update the dependencies .PHONY: serve serve: install ## Run the ihatemoney server @echo 'Running ihatemoney on http://localhost:5000' - $(PYTHON) -m ihatemoney.manage run + FLASK_DEBUG=1 FLASK_ENV=development FLASK_APP=ihatemoney.wsgi $(VENV)/bin/flask run --host=0.0.0.0 .PHONY: test test: install-dev ## Run the tests