Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lets' yo

Lets' yo

A stack to bootstrap your project's prototyping or whatever you will see.

Tin Aung Lin

February 19, 2015
Tweet

More Decks by Tin Aung Lin

Other Decks in Technology

Transcript

  1. What Are We Going To AUTOMATE ? • Dependencies Injection

    • Media Optimisation • Code Optimisation • Deployment Automation
  2. yeoman: the scaffolding tool grunt : the task runner bower

    : the package manager Links* 1. http://yeoman.io/ 2.http://gruntjs.com/ 3.http://bower.io/
  3. NODE PACKAGES $ npm install -g yo $ npm install

    -g grunt-cli $ npm install -g bower
  4. BOWER *yeoman generate a bower.json *manage dependencies without any pain

    $ bower install --save angular $ grunt wiredep
  5. GRUNT TASKS *yeoman generate a Gruntfile.js *default tasks grunt serve

    - to run the app in an endpoint [ http://localhost:9000 ] grunt build - include a lot of sub tasks like cssmin/htmlmin/imagemin and opts out a simple html/css web-app with dependencies injected under bower_components/*