diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 1989e049c4c3c37f7c9ae3f892294716633f36e5..5147222f6ae8c3e6c757fee6c486358c6c9d850f 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -2,7 +2,7 @@ ## Setup -* Install python3 and virtualenv +* Install python3, virtualenv, redis and a database program (postgres, mysql, sqlite does not work with alembic migrations) * Create a virtualenv and install the requirements ```sh @@ -22,7 +22,7 @@ cp config.py.example config.py - Don't forget to enter your database connection - And your authentication backend - And deactivate everything you do not use - +* create the path where PDFs will be stored (`DOCUMENTS_PATH` in config.py) * Fill your database ```sh diff --git a/config.py.example b/config.py.example index 67ce7d6abea017caccf2c9b86472f4ed11d63c5b..1aa605cbd8a2665a12850e18ec76aeb5ed66bea1 100644 --- a/config.py.example +++ b/config.py.example @@ -148,6 +148,7 @@ FONTS = { } # local filesystem path to save compiled and uploaded protocols (and attachments) +# create this path! DOCUMENTS_PATH = "documents" # keywords indicating private protocol parts