Powered by spreadsheets.latimes.com, Awards Calendar pulls in the JSON from any LAT spreadsheet and spits them back out via a template.
See the spreadsheet here: awards spreadsheet You'll need to go into databank to edit the content
Here's what you're going to need
- NPM (now included in node package)
You can download the Node package from the official site (nodejs.org) or...
On Mac OS X (with homebrew):
brew install node
Linux (I have not tested):
sudo apt-get node
Once Node and NPM are installed download the grunt and bower command-line tools globally.
npm install -g grunt-cli bower
The Awards Calendar uses the following JS libs:
These will all be installed via bower
Time for some action
clone the repo
git clone email@example.com:datadesk/awards-calendar.git
Hop into the repo and download the dependecies
npm install && bower install
Peep your handy work
Once everything looks good run
grunt to build the final porject
grunt will create a
dist directory with the following structure:
dist ├── index.html ├── scripts │ ├── main.js │ └── vendor │ ├── modernizr.js │ └── require.js └── styles └── main.css
In the future, require will be compiled in
main.js so there will be only one JS file.
You'll need to manually combile the HTML, CSS and JS into a blurb for P2P.
- Auto complile HTML, CSS, JS into one flat file
- Send stuff to s3