:python: Cloud Foundry sample app
A sample Flask application to deploy to Cloud Foundry which works out of the box.
- clone the repo
git clone https://github.com/jkabhishek/cf-sample-app-python.git - Install Python
- Install Setuptools and pip (see guide above)
- Install Virtualenv (acconplish this by running
pip install virtualenv) - Run
virtualenv venv - Run
source venv/bin/activateon Mac OS X/Linux orvenv\Scripts\activate.baton windows - Run
pip install -r requirements.txt - Run
python app.py - Visit http://localhost:3000
- Install the cf CLI
- clone the repo
git clone https://github.com/jkabhishek/cf-sample-app-python.git cd cf-sample-app-python- Run
cf push - Visit the given URL