mirror of https://gitlab.com/litecord/litecord.git
README: move config section before migrate
This commit is contained in:
parent
6827259d30
commit
28635a3e91
17
README.md
17
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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue