Name: interactive-queens-birthday-honours-map
Owner: ABC News
Description: null
Created: 2017-05-30 23:30:04.0
Updated: 2017-05-30 23:30:29.0
Pushed: 2017-05-30 23:30:28.0
Homepage: null
Size: 799
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An interactive map showing location of QBH recipients.
If you're on OS X or Linux you probably already have Ruby installed; test with ruby -v
in your terminal. When you've confirmed you have Ruby installed, run gem update --system && gem install compass
to install Compass and Sass.
m start
This will run npm install
to locally install Node package dependencies, then run the default grunt task which:
grunt dev
to create a development build (see Tasks, below)src/
for changes, triggering partial development builds as requiredThe build tasks transform the project source in src/
into a build under build/
.
$ grunt dev
Creates a local development build of the project.
scripts/
is linted by JSHint, then bundled by Browserify into scripts/index.js
styles/
is compiled by Compass into styles/index.css
src/
(such as index.html
)Hint: If you organise your static files into directories called images
, fonts
& data
, you'll have the benefit of proper caching by Akamai when you deploy to contentftp.
$ grunt prod
Creates a production-ready build of the project.
The build process is similar to the development build, except that scripts and styles are minified with the current version number (specified in package.json
) prepended as a comment.
$ grunt deploy
and $ grunt release
Quickly deploy and/or create new releases from the commandline. See the documentation for news-deploy-project-grunt for more details.
$ grunt
Described above in Getting Started