/etlocal

Regional data analysis tool for the Energy Transition Model

Primary LanguageRubyMIT LicenseMIT

ETLocal

Build Status

Countries, provinces, municipalities, districts and neighborhoods have their own unique questions for their energy systems. The ETM Dataset Manager (etlocal) provides a way to get meaningful insight into their current situation and allows to customize and create stable, transparent present situations for usage inside of ETModel.

To install:

  1. Config files:
cp config/database.sample.yml config/database.yml
cp config/email.sample.yml config/email.yml
  1. Run rake db:create

  2. Add a .env file with a mapbox api key to enable the map on your local environment. You can copy the template .env.template and fill in the key there, or create your own file like such:

echo "MAPBOX_API_KEY=xx.xxxxxxxxxxxxxxxxxxxxxxxxx" >> .env

The x's should be replaced by the mapbox api key.

Useful reading