README: improve the update instructions

Add the missing call to migrate the db.
Reorganise them to make them clearer.
master
Tom Hacohen 6 years ago
parent e531bf2bb9
commit b9de109998

@ -82,10 +82,12 @@ for more information about the `SECRET_KEY` and its uses.
# Updating # Updating
Inside the virtualenv, run `pip install -U -r requirements.txt` to update First, run `git pull --rebase` to update this repository.
dependencies to latest compatible versions of Django and Then, inside the virtualenv:
djangorestframework (it will only update to latest patch level which should 1. Run `pip install -U -r requirements.txt` to update the dependencies.
be API-compatible). 2. Run `python manage.py migrate` to perform database migrations.
You can now restart the server.
# Supporting EteSync # Supporting EteSync

Loading…
Cancel
Save