Add a make update command. Fixes #211

This commit is contained in:
Alexis Métaireau 2017-06-21 01:41:19 +02:00
parent cc7d8088f8
commit 21e0d06898
2 changed files with 9 additions and 0 deletions

View file

@ -23,6 +23,11 @@ $(DEV_STAMP): $(PYTHON) dev-requirements.txt
$(VENV)/bin/pip install -Ur dev-requirements.txt $(VENV)/bin/pip install -Ur dev-requirements.txt
touch $(DEV_STAMP) touch $(DEV_STAMP)
remove-install-stamp:
rm $(INSTALL_STAMP)
update: remove-install-stamp install
serve: install serve: install
cd budget; $(PYTHON) run.py cd budget; $(PYTHON) run.py

View file

@ -35,6 +35,10 @@ And then run the application::
In any case, you can point your browser at `http://localhost:5000 <http://localhost:5000>`_. In any case, you can point your browser at `http://localhost:5000 <http://localhost:5000>`_.
It's as simple as that! It's as simple as that!
In case you want to update to newer versions, you can just run the "update" command::
make update
Deploy it Deploy it
========= =========