Make a virtual enviroment
virtualenv venv
Activate the virtual enviroment
source venv/bin/activate
install dependencies
pip install -r requirements.txt
run it
python dagensdatalog.py
To build the image run
docker build -t dagensdatalog .
To run the image
docker run -p 5000:5000 dagensdatalog
Persistent 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.