The Climatescope is a unique country-by-country assessment, interactive report and index that evaluates the investment climate for climate-related investment worldwide. It is a project by UK AID, Power Africa, BNEF and the Multilateral Investment Fund
The current Climatescope website was built by Flipside in collaboration with Development Seed.
The content and data of the Climatescope available under a Creative Commons license CC-BY 4.0.
Copyright (c) 2014. Multilateral Investment Fund, Inter-American Development Bank.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
===
To set up the development environment for this website, you'll need to install the following on your system:
- Node and npm
- Ruby and Bundler, preferably through something like rvm
- Gulp ( $ npm install -g gulp )
After these basic requirements are met, run the following commands in the website's folder:
$ npm install
Will also run bundle install
$ gulp serve
Compiles the compass files, javascripts, and launches the server making the site available at http://localhost:3000/
The system will watch files and execute tasks whenever one of them changes.
The site will automatically refresh since it is bundled with livereload.
The _config-dev.yml
file will be loaded alongside _config.yml
.
Clean the compiled site. I.e. the _site
folder
$ gulp clean
Compile the compass files, javascripts, and builds the jekyll site using _config-dev.yml
.
Use this instead of gulp serve
if you don't want to watch.
$ gulp
Compiles the site loading the _config-stage.yml
alongside _config.yml
. The javascript files will be minified.
$ gulp stage
Compiles the site loading the _config-prod.yml
alongside _config.yml
. The javascript files will be minified.
$ gulp prod