Azavea Climate Change project
Lives in ./web, to develop, you'll need to install gulp and bower via npm:
npm install -g gulp bower
Then install node and bower dependencies:
npm install && bower install
Gulp tasks:
$ gulpto build an optimized version of your application in folder dist$ gulp serveto start BrowserSync server on your source files with live reload$ gulp serve:distto start BrowserSync server on your optimized application without live reload$ gulp testto run your unit tests with Karma$ gulp test:autoto run your unit tests with Karma in watch mode$ gulp protractorto launch your e2e tests with Protractor$ gulp protractor:distto launch your e2e tests with Protractor on the dist files
Inside ./web:
export CC_S3_ID=THE_DEPLOYMENT_AWS_KEY_ID
export CC_S3_SECRET=THE_DEPLOYMENT_AWS_SECRET_KEY
gulp && s3_website push
If you do not have data downloaded, have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in your
environment.
In the climate-change/indicators directory, run:
python -m indicators.aggregate DATADIR OUTDIRDATADIR is the directory with json files from the nex2json output process. If the files are
unavailable locally they will be downloaded from S3.
OUTDIR is the dir you would like the city json files written to.