From 28635a3e912bd4ff380fb966794ded5a38e5a90c Mon Sep 17 00:00:00 2001 From: Luna Date: Tue, 26 Feb 2019 23:26:08 -0300 Subject: [PATCH] README: move config section before migrate --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 26321ba..65ea1f3 100644 --- a/README.md +++ b/README.md @@ -96,21 +96,20 @@ $ createdb litecord $ psql -f schema.sql litecord ``` -Then, you should run database migrations: - -```sh -$ pipenv run ./manage.py migrate -``` - -### Configuring - -Copy the `config.example.py` file and edit it to configure your instance: +Copy the `config.example.py` file and edit it to configure your instance ( +postgres credentials, etc): ```sh $ cp config.example.py config.py $ $EDITOR config.py ``` +Then, you should run database migrations: + +```sh +$ pipenv run ./manage.py migrate +``` + ## Running Hypercorn is used to run Litecord. By default, it will bind to `0.0.0.0:5000`.