The default Python app that will be pushed in the Swisscom Application Cloud if no source code is provided.
Based on Flask
- Install Python
- Run
pip install -r requirements.txt
- Run
python app.py
- Visit http://localhost:3000
- Install the cf CLI
- Run
cf push --random-route
- Visit the given URL
- Run
zip -r python_app.zip static templates app.py Procfile requirements.txt