From 86923cc6e39bf1eb6b48a50341bb709539504fbc Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Tue, 6 Nov 2018 20:49:43 -0300 Subject: [PATCH] README: add migrate instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 5f5c9c4..3b3756f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ $ psql -f schema.sql litecord # edit config.py as you wish $ cp config.example.py config.py +# run database migrations (this is a +# required step in setup) +$ pipenv run ./manage.py migrate + # Install all packages: $ pipenv install --dev ``` @@ -50,3 +54,10 @@ Use `--access-log -` to output access logs to stdout. ```sh $ pipenv run hypercorn run:app ``` + +## Updating + +```sh +$ git pull +$ pipenv run ./manage.py migrate +```