README: improve the update instructions
Add the missing call to migrate the db. Reorganise them to make them clearer.
This commit is contained in:
parent
e531bf2bb9
commit
b9de109998
10
README.md
10
README.md
@ -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…
Reference in New Issue
Block a user