mirror of
https://github.com/swisscom/cf-default-app-python.git
synced 2026-12-04 17:18:40 +00:00
The default Python app that will be pushed in the Swisscom Application Cloud if no source code is provided | Read-only mirror of https://github.com/swisscom/cf-default-app-python — Swisscom. Issues & pull requests at the source.
- HTML 90.3%
- Python 9.3%
- Procfile 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| static | ||
| templates | ||
| .cfignore | ||
| .gitignore | ||
| app.py | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| manifest.yml | ||
| Procfile | ||
| README.md | ||
| requirements.txt | ||
CF Default App Python
The default Python app that will be pushed in the Swisscom Application Cloud if no source code is provided.
Based on Flask
Run locally
- Install Python
- Run
pip install -r requirements.txt - Run
python app.py - Visit http://localhost:3000
Run in the cloud
- Install the cf CLI
- Run
cf push --random-route - Visit the given URL
Create ZIP
- Run
zip -r python_app.zip static templates app.py Procfile requirements.txt