Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 641 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 641 Bytes

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