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

Web Development with Yeoman

isoda yu
December 23, 2013

Web Development with Yeoman

学内勉強会用に作った資料

isoda yu

December 23, 2013
Tweet

More Decks by isoda yu

Other Decks in Programming

Transcript

  1. ࠷ۙͷ8FC੍࡞   •  $44ॻ͔ͳ͍    •  +BWB4DSJQUॻ͔ͳ͍

       •  ύϑΥʔϚϯεΛॏཁࢹ •  ը૾ͷ࠷దԽ ܰྔԽ  •  ϑΝΠϧͷNJOJGZ BOENPSF
  2. ϝλݴޠ   •  +BEF )BNM •  IUNMϑΝΠϧੜ੒ •  -FTT

    4BTT 4UZMVT $441SFQSPDFTTPS  •  DTTϑΝΠϧੜ੒ •  $P⒎FF4DSJQU 5ZQF4DSJQU )BYF •  KTϑΝΠϧੜ੒ ςϯϓϨʔτΤϯδϯɾϝλݴޠ͔ΒϑΝΠϧΛੜ੒ ίϯύΠϧ࡞ۀ͕ඞਢ
  3. (SVOU •  CPDPVQࣾ੡ •  +4Λ࢖ͬͨλεΫϥϯφʔ •  ϑΝΠϧͷNJOJGZ •  ը૾ͷ࠷దԽ • 

    ߏจνΣοΫ •  ֤छϝλݴޠͷίϯύΠϧ •  ͱʹ͔͍͕͍ͭ͘͜͢͝ʂ
  4. ·ͣ͸λʔϛφϧΛىಈ  $ sudo npm install -g yo grunt-cli bower

    // 3छͷπʔϧ܈ΛάϩʔόϧྖҬʹΠϯετʔϧ $ npm search yeoman-generator // yeomanͷͻͳܗͱͳΔgeneratorΛ୳͢ $ sudo npm install -g generator-webapp // generatorΛάϩʔόϧྖҬʹΠϯετʔϧ
  5. ·ͣ͸λʔϛφϧΛىಈ   $ mkdir project_folder && cd project_folder //

    ϓϩδΣΫτϑΥϧμʔΛ࡞੒ͦ͜͠·ͰҠಈ $ yo webapp // ઌ΄ͲΠϯετʔϧͨ͠website༻ͷͻͳܗΛϏϧυ
  6. ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ     ग़య  -  http://yeoman.io - 

    http://bower.io -  http://gruntjs.com -  http://www.slideshare.net/jsugiyama/yeoman-19583549 -  http://yosuke-furukawa.hatenablog.com/entry/2013/07/04/085814   Robert Barney / Thank You Note Letterpress / http://www.flickr.com/photos/r_b/2452307906/