README.md: added extra info

This commit is contained in:
dogeystamp 2023-04-30 20:54:26 -04:00
parent 4337a921ae
commit ec41382f9d
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -21,6 +21,12 @@ source venv/bin/activate
python -m pip3 install -r requirements.txt
```
Create a configuration file (and set the secret key!)
```
cp config.yml.example config.yml
vim config.yml
```
Start Flask in development mode:
```
@ -42,3 +48,17 @@ Please use the linter before submitting code.
```
black .
```
## database maintenance
To clean up the database (remove stale entries):
```
flask --app sachet.server cleanup
```
Otherwise, to upgrade the database after a schema change:
```
flask --app sachet.server db upgrade
```