From bd116320e41ea46fbcfef89427f143fa8377920b Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Tue, 30 Nov 2021 11:51:14 +0100 Subject: [PATCH] Use flask run rather than custom manage command (#952) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17676cc0a..0a4c561a4 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