Minor readme updates

This commit is contained in:
j3s 2020-05-11 20:15:11 -05:00 committed by forest
parent d7ddf37cfa
commit 22520fe984

View File

@ -17,6 +17,7 @@ Create python virtual environment and install packages
``` ```
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
pip install --upgrade pip wheel
pip install -r requirements.txt pip install -r requirements.txt
``` ```
@ -26,6 +27,12 @@ Run an instance of Postgres (I used docker for this, you can use whatever you wa
docker run --rm -it -e POSTGRES_PASSWORD=dev -p 5432:5432 postgres docker run --rm -it -e POSTGRES_PASSWORD=dev -p 5432:5432 postgres
``` ```
Modify the default email settings
```
nano capsulflask/__init__.py
```
Run the app Run the app
``` ```
@ -47,4 +54,4 @@ For example, the script named `02_up_xyz.sql` should contain code that migrates
**IMPORTANT: if you need to make changes to the schema, make a NEW schema version. DO NOT EDIT the existing schema versions.** **IMPORTANT: if you need to make changes to the schema, make a NEW schema version. DO NOT EDIT the existing schema versions.**
In general, for safety, schema version upgrades should not delete data. Schema version downgrades will simply throw an error and exit for now. In general, for safety, schema version upgrades should not delete data. Schema version downgrades will simply throw an error and exit for now.