Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 951 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 951 Bytes

docker-flask

It is part of a little course I took of Flask, a Python framework. I mixed it with a guide to learn Docker and Docker compose.

Flask sources:

Docker sources:

How to run

  • Build project.
docker-compose up
  • Enter to the project container and open python console then create the table.
docker ps -a
docker exec -it CONTAINER_ID_HERE bash
python
from app import db
db.create_all()
  • Done, the site loads on localhost:5000