Skip to content

GFDRR/recovery_dashboard

Repository files navigation

Recovery Dashboard: Nepal Earthquake

Build Status codecov.io

Stack

This repo uses middleman, a static site generator, to build the site. Once built middleman (and ruby, etc) is not needed.

The static site uses the following libraries:

  • Angular
  • OpenLayers 3

It uses them using another library called angular-openlayers-directive which can be found here

Dependencies are installed using bower

Development

The repo is a middleman site

Installation

The docker way

Install Docker: https://docs.docker.com/installation/

docker-compose up

add -d if you want it to run as a deamon open your browser at your docker ip with port 4567

or use the docker.sh script (which does the same as above

./docker.sh

the ruby way

Install ruby and rubygems and node/npm

Dependencies

bundle install
bower install

to install javascript dependencies

Server

Run

middleman

to run the development server and open your browser at: http://localhost:4567