Professional interface of the Energy Transition model.
Ruby CoffeeScript HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
public
script
spec
test
vendor/assets
.gitignore
.rspec
.ruby-version
Capfile
Gemfile
Gemfile.lock
LICENSE.txt
README.markdown
Rakefile
config.ru
discover.rb

README.markdown

The Energy Transition Model (ETM) Professional

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.

Build Status

Master

Master branch

Production

Production branch

Staging

Staging branch

License

The ETM pro is released under the MIT License.

Branches

Dependencies

  • Ruby 1.9.3, 2.1.2 or 2.3
  • Mysql database server

Installing

  • 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
    
    • Probably set "standalone" to true in "config/config.yml"
  • Run bundle install to install all the dependencies

  • Create and fill local database with rake db:setup and RAILS_ENV=test rake db:setup
  • Fire up your local server with rails server -p3000
  • Go to localhost:3000 and you should see the ETM pro!

Admin access

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

Bugs and feature requests

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.