This is the source code of the ETM Pro: an online web app that let you create a future energy scenario for various countries. This software is Open Source, so you can fork it and alter at your will.
If you have any questions, please contact us.
The ETM pro is released under the MIT License.
- master: Working branch and is tracked by the ETM beta server
- production: Tracks the ETM production server
- Ruby 1.9.3 or Ruby 2.0
- Mysql database server
-
Pull this repository with
git clone git@github.com:quintel/etmodel.git
-
Create your personal configuration files from the samples with
cp -vn config/database.sample.yml config/database.yml cp -vn config/config.sample.yml config/config.yml cp -vn config/email.sample.yml config/email.yml
-
Run
bundle install
to install all the dependencies -
Create local database with
rake db:create
-
Fill the database with
rake db:reset
-
Fire up your local server with
rails server -p3000
-
Got to localhost:3000 and you should see the ETM pro!
If you want to get admin access to your own page, the easiest way to do so is to create an Admin User through the console and follow instructions:
rake db:create_admin
If you encounter a bug or if you have a feature request, you can either let us know by creating an Issue or you can try to fix it yourself and create a pull request.