This project is based on Flask-Scaffold and a ubuntu docker envrionment is provided for it.
Step 1. run container
docker-compose up -d
Step 2. go into container
docker exec -it flask bash
Step 3. prepare the scaffold and database
/miniconda/bin/python scaffold.py scaffold/blog.yaml
/miniconda/bin/python db.py db init
/miniconda/bin/python db.py db migrate
/miniconda/bin/python db.py db upgrade
Step 4. close container
docker-compose down
Step 1. start container
docker-compose up -d
Step 2. close container
docker-compose down
flask: http://localhost:80
phppgadmin: http://localhost:8000
supervisor: http://localhost:9001
python3.6 & pip3.6 in Miniconda3
access to jupyter notebook through "http://localhost:8080" with login password: "jupyter"