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
|
$ psql -f schema.sql litecord
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, you should run database migrations:
|
Copy the `config.example.py` file and edit it to configure your instance (
|
||||||
|
postgres credentials, etc):
|
||||||
```sh
|
|
||||||
$ pipenv run ./manage.py migrate
|
|
||||||
```
|
|
||||||
|
|
||||||
### Configuring
|
|
||||||
|
|
||||||
Copy the `config.example.py` file and edit it to configure your instance:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cp config.example.py config.py
|
$ cp config.example.py config.py
|
||||||
$ $EDITOR config.py
|
$ $EDITOR config.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then, you should run database migrations:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ pipenv run ./manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
Hypercorn is used to run Litecord. By default, it will bind to `0.0.0.0:5000`.
|
Hypercorn is used to run Litecord. By default, it will bind to `0.0.0.0:5000`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue