Skip to content

jabhishek87/cf-sample-app-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-sample-app-python

:python: Cloud Foundry sample app

A sample Flask application to deploy to Cloud Foundry which works out of the box.

Run locally

  1. clone the repo git clone https://github.com/jkabhishek/cf-sample-app-python.git
  2. Install Python
  3. Install Setuptools and pip (see guide above)
  4. Install Virtualenv (acconplish this by running pip install virtualenv)
  5. Run virtualenv venv
  6. Run source venv/bin/activate on Mac OS X/Linux orvenv\Scripts\activate.bat on windows
  7. Run pip install -r requirements.txt
  8. Run python app.py
  9. Visit http://localhost:3000

Run in the cloud

  1. Install the cf CLI
  2. clone the repo git clone https://github.com/jkabhishek/cf-sample-app-python.git
  3. cd cf-sample-app-python
  4. Run cf push
  5. Visit the given URL

About

:python: Cloud Foundry sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages