Skip to content

rajshivage/flask-python-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flask-python-app

Purpose

Develop simple app using Flask Python framework
Dockerize or containerize Python app
Use docker-compose to build and deploy Python app

Pre-requisites

Docker
Docker-compose
Git

Clone the repository

git clone https://github.com/rajshivage/flask-python-app.git

cd flask-python-app

create .env file and add database password

echo DB_PASSWORD=<Database Password> > .env

Run docker-compose

docker-compose up

Test

curl http://127.0.0.1:5000/initdb
curl http://127.0.0.1:5000/widgets
curl http://127.0.0.1:5000/about/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published