Use flask run rather than custom manage command (#952)

This commit is contained in:
Alexis Metaireau 2021-11-30 11:51:14 +01:00 committed by GitHub
parent b4a81967b8
commit bd116320e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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