Last active
August 29, 2015 14:19
CF Pregame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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