stefanteixeira / todoapp-flask

Example web app written in Python, using Flask, SQLAlchemy and PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example web app written in Python, using Flask, SQLAlchemy and PostgreSQL


Languages

Language:Python 64.3%Language:HTML 34.5%Language:Shell 1.2%