Skip to content

jvergara-runbuggy/python-flask-sample-app

This branch is 5 commits behind codefresh-contrib/python-flask-sample-app:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2cf5efd · Mar 5, 2020

History

14 Commits
Mar 5, 2020
Mar 5, 2020
Aug 20, 2018
Aug 20, 2018
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020
Mar 5, 2020

Repository files navigation

Flaskr an example application written in Python/Flask

Flask plus Codefresh

Original source code from https://github.com/pallets/flask/tree/master/examples/tutorial

Docker instructions

To create a docker image execute:

docker build . -t flaskr

To run the docker image execute:

docker run -p 5000:5000 flaskr and visit with your browser http://localhost:5000

To run unit tests inside the container execute:

docker run -it flaskr /bin/sh

and then in the new command promt run

pip install pytest && pytest

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.

More details can be found in Codefresh documentation

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.9%
  • HTML 15.4%
  • CSS 7.4%
  • TSQL 2.2%
  • Dockerfile 1.1%