This is the source code of ETMoses: an online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes. This software is Open Source, so you can fork it and alter at your will.
If you have any questions, please contact us.
ETMoses is released under the MIT License.
Install ImageMagick
brew install imagemagick
sudo apt-get install imagemagick libmagickwand-dev
Pull this repository with git clone git@github.com:quintel/etmoses.git
Create your personal configuration files from the samples with
cp -vn config/database.sample.yml config/database.yml
cp -vn config/secrets.sample.yml config/secrets.yml
cp -vn config/email.sample.yml config/email.yml
Provide your MySQL username/password to config/database.yml
if it is
different from root/blank
Run bundle install
to install all the dependencies
Create local database with bundle exec rake db:create
Fill database structure and seeds with bundle exec rake db:reset
Copy load profiles, technologies etc from staging server
bin/sync_profiles
If you need to connect to a local ETEngine server rather than the staging server, copy config/settings.yml
to config/settings.local.yml
and adapt settings accordingly
Fire up your local server with bundle exec rails server -p3000
Go to localhost:3000 and you should see ETMoses
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.