Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 671 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 671 Bytes

Simple Flask App Tutorial

This is the output of the tutorial I built here!. To get this up and running easy you can use Docker or Docker Compose.

Example docker command

docker run kevcoxe/simple-flask-app -p 5000:5000 --name=simple-flask-app
# will start the app at (http://localhost:5000)

Example docker-compose command

# clone this repo
# cd into the repo
docker-compose up

# will start the app at (http://localhost:8000)

Example running this just as python

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
python app.py
# will start the app at (http://localhost:5000)