Giter Site home page Giter Site logo

abcnews / interactive-captains-knock-charts Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 174 KB

Visualisation of cumulative runs by innings for Australian cricket captains

Home Page: http://www.abc.net.au/news/2015-08-25/michael-clarke-retirement-enigma/6722364

JavaScript 71.43% HTML 24.23% CSS 4.34%
story update-for-pl-required

interactive-captains-knock-charts's Introduction

Captains' knocks

Visualisation of Australian cricket captains' batting records. Built for a Michael Clarke, an enigma to the end, published to mark the retirement of Michael Clarke.

Visualisation of Australian cricket captains' batting records.

Dependencies

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.

Getting Started

$ npm start

This will run npm install to locally install Node package dependencies, then run the default grunt task which:

  • Runs grunt dev to create a development build (see Tasks, below)
  • Starts up a development server in the build directory, running on http://localhost:8000
  • Watches files under src/ for changes, triggering partial development builds as required

Grunt Tasks

The build tasks transform the project source in src/ into a build under build/.

Development Build: $ grunt dev

Creates a local development build of the project.

  • JS in scripts/ is linted by JSHint, then bundled by Browserify into scripts/index.js
  • Sass in styles/ is compiled by Compass into styles/index.css
  • All other directories/files are copied directly across, including those directly under 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.

Production Build: $ 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.

Deployment $ 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.

Default: $ grunt

Described above in Getting Started

interactive-captains-knock-charts's People

Contributors

drzax avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.