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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:15:22 +02:00
static Upgrade SDX to 1.4 2017-12-04 12:26:09 +01:00
templates fix: make changes for default python 3.8.1 2020-04-03 17:54:20 +02:00
.cfignore Migrate to SDX 2017-06-09 13:11:36 +02:00
.gitignore Migrate to SDX 2017-06-09 13:11:36 +02:00
app.py Migrate to SDX 2017-06-09 13:11:36 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:15:22 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:15:21 +02:00
LICENSE Migrate to SDX 2017-06-09 13:11:36 +02:00
manifest.yml fix: make changes for default python 3.8.1 2020-04-03 17:54:20 +02:00
Procfile fix procfile 2016-06-23 13:38:06 +02:00
README.md Simplify local development 2017-06-09 15:55:12 +02:00
requirements.txt Migrate to SDX 2017-06-09 13:11:36 +02:00

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

  1. Install Python
  2. Run pip install -r requirements.txt
  3. Run python app.py
  4. Visit http://localhost:3000

Run in the cloud

  1. Install the cf CLI
  2. Run cf push --random-route
  3. Visit the given URL

Create ZIP

  1. Run zip -r python_app.zip static templates app.py Procfile requirements.txt