damiendube / flask_poetry_docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Flask app

It's been a while since I did my last python project. Trying out my hands with a simple python application

Using, Poetry as my main build & dependency managment tool. Supporting both Docker & AWS EB deployement.

Dev Mode

Install Dependencies in Virtual Environment

pyenv install
poetry install

Run

poetry run python application.py

Docker

poetry run docker_build
poetry run docker_run
poetry run docker_stop

AWS Elastic Beanstalk

poetry lock
poetry export -f requirements.txt > requirements.txt
eb deploy

About


Languages

Language:Python 71.7%Language:Dockerfile 24.4%Language:Makefile 3.8%