Skip to content

Latest commit

 

History

History
executable file
·
39 lines (25 loc) · 677 Bytes

README.md

File metadata and controls

executable file
·
39 lines (25 loc) · 677 Bytes

Python Flask Application

A Python sample for Heroku/Cloud Foundry application written in Python using Flask

Getting Started

This application requires the following python modules:

Flask

They can be installed by using the following commands

pip install flask
pip install flask-cors

Run Locally

The application can be run locally with the command

python cf-python-sample.py

Run on Cloud Foundry

To push the application, use the following command:

cf push -f manifest

Run on Heroku

To push the application, use the following command:

git push heroku master