Go to file
Joachim Lusiardi 1d449cb0ab Merge branch 'master' of code.nerd2nerd.org:n0ob/rollerverbrauch 2016-04-18 21:01:31 +02:00
app Fixed date vs datetime 2016-04-18 20:58:20 +02:00
.gitignore add .gitignore file 2016-04-14 19:53:49 +02:00
Dockerfile reworked docker file for faster build times 2016-04-13 08:30:13 +02:00
README.md add switch for debugger 2016-04-18 08:13:27 +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) .

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 --name rollerverbrauch -ti -v pwd/app:/app -v /tmp/pitstops/:/data -e DEBUG=True -p 5000:5000 rollerverbrauch

run in production

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