A dashboard for Pivots at the office.
On Mac you can install NodeJs, PhantomJs and CloudFoundry with the following:
$ brew install node
$ brew install phantomjs
$ brew install cloudfoundry-cli
To checkout and run the project locally:
$ git clone [email protected]:spilth/pivotal-life.git
$ cd pivotal-life
$ bundle
$ npm install -g coffee-script
To run the dashboard you will need a .env
file with various tokens and keys. The fastest way to do this is by pulling them down from Cloud Foundry.
First, target the pivotal-life app on the public Cloud Foundry deployment:
$ cf api api.run.pivotal.io
Then log in to Cloud Foundry:
$ cf login
Select the pivotallabs
org.
Note: You will need to belong to the pivotallabs
org and have access to the pivotal-life
space.
Next, build a .env
file using the Cloud Foundry settings:
$ ./populate-dotenv.sh
Now run the local server:
$ bundle exec dashing start
Then navigate to http://localhost:3030/.
Once you are logged in to Cloud Foundry, per above, do the following:
$ cf push pivotal-life-staging
Navigate to http://pivotal-life-staging.cfapps.io/
$ cf push pivotal-life
Navigate to http://pivotal-life.cfapps.io/
- Pivotal Tracker Project
- Dashing
- PM: Michael McGinley