mirror of https://gitlab.com/litecord/litecord.git
README: add migrate instructions
This commit is contained in:
parent
db9fd783f5
commit
86923cc6e3
11
README.md
11
README.md
|
|
@ -36,6 +36,10 @@ $ psql -f schema.sql litecord
|
||||||
# edit config.py as you wish
|
# edit config.py as you wish
|
||||||
$ cp config.example.py config.py
|
$ cp config.example.py config.py
|
||||||
|
|
||||||
|
# run database migrations (this is a
|
||||||
|
# required step in setup)
|
||||||
|
$ pipenv run ./manage.py migrate
|
||||||
|
|
||||||
# Install all packages:
|
# Install all packages:
|
||||||
$ pipenv install --dev
|
$ pipenv install --dev
|
||||||
```
|
```
|
||||||
|
|
@ -50,3 +54,10 @@ Use `--access-log -` to output access logs to stdout.
|
||||||
```sh
|
```sh
|
||||||
$ pipenv run hypercorn run:app
|
$ pipenv run hypercorn run:app
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Updating
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ git pull
|
||||||
|
$ pipenv run ./manage.py migrate
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue