Make a virtual enviroment
virtualenv venvActivate the virtual enviroment
source venv/bin/activateinstall dependencies
pip install -r requirements.txtrun it
python dagensdatalog.pyTo build the image run
docker build -t dagensdatalog .To run the image
docker run -p 5000:5000 dagensdatalogPersistent data mount points
- /app/uploads
- /app/pictures
- /app/db.json
To login to the admin page use "admin" and "password". To specify the admin login use the enviroment variables "ADMIN_USER" and "ADMIN_PASSWORD".
Feel free to add new slogans in the slogans.txt file. Slogans are separated by newline.