Skip to content

swisscom/cf-default-app-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The default Python app that will be pushed in the Swisscom Application Cloud if no source code is provided

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published