Skip to content

unhcr/global-emergencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNHCR Global Emergencies site

Global Emergencies is microsite designed by Development Seed visualizing global emergency data from UNHCR. Available at http://unhcr.github.com/global-emergencies.

System requirements

For running the site locally and updating data.

Use Ruby Gem to install:

For updating site and maps

Check out site from repository

# This will check out the site from the remote repository on
# GitHub and place it in a local directory named unhcr-emergencies/
git clone https://github.com/unhcr/global-emergencies.git
# Your site should now be here:
ls global-emergencies/

Run site

cd global-emergencies/
jekyll

Point browser to http://0.0.0.0:4000/global-emergencies

Update site

The site can be entirely updated from the command line. It is recommended to review changes locally before pushing them live.

The update script has been written to process the data and then render and upload all maps automatically. Each part of the script can be run individually.

cd global-emergencies/ 
cd bin/ 
./update.sh