Project by Cenergi to provide feedback on energy usage in West Village. Hobo loggers collect data on energy use. This application downloads that data and uses it to drive a dashboard for each building logged. The dashboard displays current usage, historical usage, and historical performance compared to zero net energy goals. Also, the dashboard compares performance with respect to the zne goal among all the buildings on a weekly leaderboard.
- Docker
- Compose
docker-compose up -d
docker-compose -f docker-compose.yml -f docker-compose-dev.yml up -d
Grunt will compile SASS and livereload on changes.
Web server will be at http://localhost:3000/
CREATE DATABASE "feed";psql feed < schema/feed.sql
Pulls data from hobo link every 10 minutes and inserts into the database.
- python3, pip3
- postgres server running on localhost @ 5432 with feed database, log tabled created
cd tasks\pip install -r requirements.txtpython logger_processing.py
Serves front-end content and runs api to access backend data
- node and npm (package info)
- ruby (apt install ruby)
- sass (gem install sass)
- postgres server running on localhost @ 5432 with feed database, log tabled created, and populated
- grunt (npm install -g grunt-cli)
- bower (npm install -g bower)
cd web\bower installnpm installgrunt- Open http://localhost:3000/ in browser