An experimental alternative web interface to the www.decc.gov.uk 2050 energy and climate change calculator
Further detail on the project: http://www.decc.gov.uk/2050
Canonical source: http://github.com/decc/42Questions
Original interface http://github.com/decc/twenty-fifty
- Install ruby 1.9.2 or greater (including development headers)
- 'gem install bundler' or 'sudo gem install bundler'
- cd 42Questions
- bundle
It can run in two modes, 'production' and 'development'.
Production is what you usually want:
- cd 42Questions
- ruby 2050.rb -e production
- Navigate to http://0.0.0.0:4567 in your web browser
Development takes more effort to set up, but then reloads various files on each page request, making development easier:
- cd 42Questions
- rackup
- Navigate to http://0.0.0.0:9292 in your web browser
Note: If the development version doesn't seem to be working, try deleting public/index.html
You are welcome to improve this code. Please read the LICENCE file and then the HACKING file contains some hints and tips on changing the code and a process for sending in patches and bug reports.