Skip to content

Instantly share code, notes, and snippets.

@krujos
Last active August 29, 2015 14:19
Show Gist options
  • Save krujos/5d7b6ce6b5b0b7fba459 to your computer and use it in GitHub Desktop.
Save krujos/5d7b6ce6b5b0b7fba459 to your computer and use it in GitHub Desktop.
CF Pregame
#install CF CLI (https://console.run.pivotal.io/tools)
$ git clone https://github.com/krujos/investigator
$ cd investigator
$ cf login -a https://api.run.pivotal.io -u <email> -o hd-testdrive -s development
$ cf push investigator-<your name> --random-route -m 128M
#So for josh k, the command is "cf push investigator-josh --random-route -m 128M"
$ curl <whatever url push dumped out>/env
# So for josh k it was "curl investigator-jdk-compurgatorial-tormentor.cfapps.io"
# The curl command is way better if you have jq installed.
# curl investigator-jdk-compurgatorial-tormentor.cfapps.io/env | jq '.'
# you can also log into the console at console.run.pivotal.io and poke around, this is the same console PCF uses
# read this later, http://docs.run.pivotal.io/devguide/deploy-apps/deploy-app.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment