Skip to content
The source code for the new look version of the 2050 calculator
C Ruby JavaScript CSS HTML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
locales
model
source
util Updated build script Jul 3, 2015
.dockerignore
.fontcustom-manifest.json
.gitignore
.jshintrc
.ruby-version
CREDITS
Dockerfile
Gemfile
Gemfile.lock
HACKING.md
LICENCE
README.md
Rakefile
build.js
config.rb
config.ru
fontcustom.yml
r.js
server.rb

README.md

DECC 2050 Calculator

Front end for DECC 2050 calculator

Development

Dependencies

  • Requires ruby 2.2.2
  • Fontcustom has its own dependencies. See github

Setup

  • git clone
  • bundle install
  • middleman build
  • bundle exec rackup

Open your browser at http://localhost:9292

Building

In source/javascripts/config.js set apiUrl, and siteUrl. Then middleman build.

resulting code will be in ./build. This is the code to deploy.

Icon font

Built with font custom gem. Svg files go in source/icons, run rake fonts to compile.

You can’t perform that action at this time.