Foreign-Born Population 1850-2010
Latest build can be viewed at http://dsl.richmond.edu/panorama/foreignborn
NOTE: the code in this repository was developed before the Panorama toolkit was complete. Therefore, it doesn't use all of the current Panorama libraries and design patterns. To see an example of a map that is built on the finalized Panorama toolkit, see panorama-canals
##Data Sets A list of all base datasets for this project in CartoDB can be found in data/README.md
##Dependencies
##Setup
Clone the project and cd into the project folder.
nvm use to fire up the right Node version.
Make sure you have npm installed. If it's been a while since you last installed or updated, you may want to reinstall. This install is tested successfully against 0.12.7
Load required npm modules.
npm installCreate a .env.json file from .env.json.sample in root directory and add your CartoDB account name to the .env.json file. Will look like this...
{
"siteroot" : "./",
"cartodbAccountName" : "ACCOUNT NAME HERE"
}##Develop To run locally:
npm startOpen browser to http://localhost:8888/
##Deploy To use development code: Copy the build directory to your server, but for production you will want to run:
npm run dist
This will create a dist directory. Move this directory to your server.
Both directories are all static files, so no special server requirements needed.