Example web app written in Python, using Flask, SQLAlchemy and PostgreSQL
Python HTML Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


todoapp-flask Circle CI

To init a PostgreSQL database container for the project:

docker run -d --name postgresql -e 'DB_USER=admin' -e 'DB_PASS=admin' -e 'DB_NAME=todo' -p 5432:5432 sameersbn/postgresql:9.4-4

To run a container for the application:

docker build -t todoapp .

docker run -d -p 5000:5000 --link postgresql:postgres --name todo todoapp

Or, with docker-compose:

docker-compose up