JavaScript HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
test
.bowerrc
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE.md
README.md
bower.json
package-lock.json
package.json
s3_website.yml

README.md

BuildingEnergyBenchmarking

http://visualization.phillybuildingbenchmarking.com/#/

Build Status

Developing

Dependencies:

# TODO: Add vagrant vm
sudo apt-get install ruby1.9.1-dev
sudo gem install sass compass
sudo npm install -g grunt-cli bower
npm install
bower install

Then to serve the dev server:

grunt serve

The dev app will be served at localhost:9000 and automatically opened in a new tab in your default browser.

The app will auto refresh after saving js/css/html

Deploying

  1. grunt build --env=prod
  2. gem install s3_website if you haven't already
  3. export MOS_S3_ID=ENTER_S3_ID_HERE MOS_S3_SECRET=ENTER_S3_SECRET_HERE
  4. s3_website push

Testing

npm test will run the test suite.

Note that tests require Chrome 59+, for the headless browser support.