Go to file
Joachim Lusiardi 0303be7945 more user handling features of flask-security activated
Now users can recover their passwords and change them while
logged in.
2016-04-21 08:11:57 +02:00
app more user handling features of flask-security activated 2016-04-21 08:11:57 +02:00
.gitignore add .gitignore file 2016-04-14 19:53:49 +02:00
Dockerfile Users are allowed to register now 2016-04-19 07:39:17 +02:00
README.md Users are allowed to register now 2016-04-19 07:39:17 +02:00
create_icons.sh next try with icons 2015-03-22 13:31:03 +01:00
icon_orig.png tuned apple icon 2015-03-22 11:02:59 +01:00

README.md

How to build & run

build

docker build --tag=$(basename $PWD) .

general configuration

Look at app/config/email.py.example* for the configuration of the parameters required for sending emails. Copy the file as email.py to a folder that will serve as configuration directory and fill in the information. The directory will be used as volume during container operation.

run in development

Include the development version of the code as volume, so the app gets reloaded automatically. The sqlite file will be stored in tmp so it can be inspected with tools like sqlite3. The switch DEBUG enables debugging during development.

docker run --rm --name rollerverbrauch -ti -v pwd/app:/app -v pwd/../rollerverbrauch_config:/app/config -v /tmp/pitstops/:/data -e DEBUG=True -p 5000:5000 rollerverbrauch

run in production

docker run --name pitstops -d -v /data/pitstops/:/data -v /configs/pitstops/:/app/config -p 80:5000 rollerverbrauch