Building oss race

6

Click here to load reader

description

https://github.com/sideshowcoder/oss-race http://github.com/sideshowcoder/javascript-workshop

Transcript of Building oss race

Page 1: Building oss race

City of Ember

Building your (first?) ember.js app

Page 2: Building oss race

You know “The Open Source Report Card”?

Page 3: Building oss race

Lets race!

Page 4: Building oss race

Some things you will need

OSS-Race app!Battle GitHub users by name via stats from Open Source Report Card!

!Install what we need to get started!npm  install  -­‐g  yo  grunt-­‐cli  bower  generator-­‐ember  grunt-­‐contrib-­‐compass  gem  install  compass  

!Run the yoeman generator Ember!yo  ember  

!Setup the proxy so we can Interact with external resources!replace Gruntfile.js with provided Gruntfile.js.oss-race this adds the small proxy to make sure we can do requests to anything via /?url=encodeURI(url) when running!

grunt  server

Page 5: Building oss race

Getting setup• Checkout the github repo

(sideshowcoder/javascript-workshop)

• Look at city-of-ember/OSSRace.md

• http://todomvc.com/architecture-examples/emberjs/

• https://github.com/tastejs/todomvc/tree/gh-pages/architecture-examples/emberjs

• https://github.com/basho/riak_control/tree/develop/priv/admin/js

Page 6: Building oss race

Whats next?

• Create a route for your page

• Setup a template

• Setup a controller

• Create a Data model

• Load the data

• Score the users

• Show the result