From 8adf8d4fba24634478916aa39643b69288586c86 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Sat, 17 Feb 2018 21:59:54 +0100 Subject: [PATCH] Add comment to create DOCUMENTS_PATH --- DEVELOPMENT.md | 4 ++-- config.py.example | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 1989e04..5147222 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 67ce7d6..1aa605c 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 -- GitLab