From b9de109998dc907b99ca84b410ca3c6f0c2bffbf Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 8 Mar 2019 16:41:37 +0000 Subject: [PATCH] README: improve the update instructions Add the missing call to migrate the db. Reorganise them to make them clearer. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4725bce..fd41218 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,12 @@ for more information about the `SECRET_KEY` and its uses. # Updating -Inside the virtualenv, run `pip install -U -r requirements.txt` to update -dependencies to latest compatible versions of Django and -djangorestframework (it will only update to latest patch level which should -be API-compatible). +First, run `git pull --rebase` to update this repository. +Then, inside the virtualenv: +1. Run `pip install -U -r requirements.txt` to update the dependencies. +2. Run `python manage.py migrate` to perform database migrations. + +You can now restart the server. # Supporting EteSync