Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 905 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 905 Bytes

Example Flask app running on Cloud Foundry

This repo contains the bare bones of a flask app which runs inside Cloud Foundry (CF).

Steps To A Running App

  1. Install the cf CLI tool
  1. Get cf authenticated and working against the CF API
  • Open the terminal (we'll be using it for the entire session ...)
  • Run cf login -a https://api.eu-gb.bluemix.net
    • Follow the prompts to get to the cf-training space
  1. Copy manifest-template.yml to manifest.yml
  2. Edit manifest.yml as indicated inside the file
  3. cf push -f manifest.yml
  • The -f is optional iff using this exact filename, but it's a good habit to get into
  1. Browse to the FQDN the cf push tells you it's registered