All Projects → codefresh-contrib → python-flask-sample-app

codefresh-contrib / python-flask-sample-app

Licence: other
Dockerized Python Flask Example application

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects
TSQL
950 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to python-flask-sample-app

terraform-aws-s3-bucket
Terraform module that creates an S3 bucket with an optional IAM user for external CI/CD systems
Stars: ✭ 138 (+146.43%)
Mutual labels:  codefresh
iris
Watch on Kubernetes events, filter and send them as standard wehbook to any system
Stars: ✭ 57 (+1.79%)
Mutual labels:  codefresh
github-status-updater
Command line utility for updating GitHub commit statuses and enabling required status checks for pull requests
Stars: ✭ 83 (+48.21%)
Mutual labels:  codefresh
plugins
Codefresh plugins repository
Stars: ✭ 16 (-71.43%)
Mutual labels:  codefresh
ci-skip
CI skip comment
Stars: ✭ 35 (-37.5%)
Mutual labels:  codefresh

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].