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.
- Config files:
cp config/database.sample.yml config/database.yml
cp config/email.sample.yml config/email.yml
-
Run
rake db:create
-
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.