The Climatescope is a unique market-by-market assessment, interactive report and index that evaluates the investment climate for climate-related investment worldwide.
The current Climatescope website was built by 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:
If you use nvm
, activate the desired Node version:
nvm install
Install Node modules:
yarn install
or
npm install
Once the dependencies are installed, you can run:
yarn export
or
npm run export
This will build the navigation, build the optimized images, build the next app, and export this app as a static website into the /out
folder, which can then be deployed. Once you have exported the app, you can test it locally by running:
yarn serve
or
npm run serve
In order to run the app, you will need to provide a site url and a mapbox token, as well as a mailchimp address. You can do this via a .env.local
file.
SITE_URL=https://www.global-climatescope.org/
MAPBOX_TOKEN=
MAILCHIMP_ADDRESS=