Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moodyomar/python-weatherapp
Simple Weather app ( Mobile layout only ) in Python (flask) and Nginx. CI pipeline with GitHub actions that includes static, unit and smoke tests. Ready for CI in Jenkins as well and deployment in K8S. Git workflow as a branching strategy
https://github.com/moodyomar/python-weatherapp
docker docker-compose flask jenkins kubernetes nginx python python3
Last synced: 16 days ago
JSON representation
Simple Weather app ( Mobile layout only ) in Python (flask) and Nginx. CI pipeline with GitHub actions that includes static, unit and smoke tests. Ready for CI in Jenkins as well and deployment in K8S. Git workflow as a branching strategy
- Host: GitHub
- URL: https://github.com/moodyomar/python-weatherapp
- Owner: moodyomar
- Created: 2022-10-04T15:44:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-06T09:13:03.000Z (almost 2 years ago)
- Last Synced: 2024-07-29T19:05:01.492Z (3 months ago)
- Topics: docker, docker-compose, flask, jenkins, kubernetes, nginx, python, python3
- Language: Python
- Homepage:
- Size: 5.27 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: history.json
Awesome Lists containing this project
README
# Python Webapp CI/CD ready
to run the app
`python3 main.py`to run unitests
`python3 -m unitest`to build docker image
`docker build -t your_user_name/image_name:tag`to run the app with nginx and gunicorn with docker-compose
`docker-compose up -d`to deploy on K8S cluster use the deployment.yaml file, Run
`kubectl create -f deployment.yaml`