A web interface to the Tamil Nadu State Energy Calculator 2050
Further detail on the project: http://indiaenergy.gov.in
Canonical source: http://github.com/iept/iess_v2
- Install Ruby dependency
ruby-2.4.2
gem install bundler
bundle install
npm install
- We use hot reloading of RackApp. Use
shotgun
to start the server. - Navigate to http://localhost:9393 in your web browser
- Run the app by starting the puma server.
puma -e <environment>
- Navigate to http://localhost:9292 in your web browser
- Run
rake test:all
to run all the tests - Run
rake asset:pipeline
to precompile all the assets - Run
cap <environment> deploy
to deploy to the server.
Use rake test:all
to run all the unit and acceptance tests.