Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Getting Started Yeoman
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Toru Furuya
January 29, 2014
45
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting Started Yeoman
Toru Furuya
January 29, 2014
More Decks by Toru Furuya
See All by Toru Furuya
How To Built Uranow Android App
torufuruya
0
70
Automatic Kotlin Lint with Pipeline and Danger
torufuruya
0
110
Realm Academyのすすめ
torufuruya
0
46
iPhone XでのSafe AreaとWebコンテンツの表示制限について
torufuruya
0
100
Git subtree の導入
torufuruya
0
120
CI as Code の導入
torufuruya
0
47
Objective-Cのpropertyのこと
torufuruya
0
55
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.2k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
240
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
160
Fireside Chat
paigeccino
42
4k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
Discover your Explorer Soul
emna__ayadi
2
1.1k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
30 Presentation Tips
portentint
PRO
1
330
Transcript
Getting Started Yeoman
はじめに 今日は「入門」です。 とりあえずYeomanを使うところを、デモ中心に見 せれたらいいなと思います。
はじめに Nodeインストール済で npmコマンドが使える環境を前提とします。
What is Yeoman? 1. 〈英〉〔12~15世紀の〕召使い、従僕◆自由民の 資格を持つ貴族の召使い。 2. 〈英〉〔15世紀の〕ヨーマン、独立自営農民、自由 農民、自作農
None
None
THE WEB'S SCAFFOLDING TOOL FOR MODERN WEBAPPS
株式会社LIG 『「scaffold? 何それ?」って言ったら笑わ れた』 http://liginc.co.jp/programmer/archives/555 scaffold?
scaffold? Webアプリケーションのひな形となるソースコード を自動生成
やること > npm install -g yo grunt-cli bower > npm
install -g generator-webapp > mkdir webapp && cd $_ > yo webapp > grunt serve
デモ うまくできるといいな
generators... • Web App (今デモったやつ) • AngularJS • Backbone •
Ember • Polymer • Jasmine • Mocha • Karma • Chrome Apps Basic Boilerplate • Chrome Extension Boilerplate
AngularJS style > npm install -g generator-angular > mkdir angular
&& cd $_ > yo angular > grunt serve
AngularJS style > yo angular:route myroute > yo angular:controller user
> yo angular:view user > yo angular:directive myDirective > yo angular:service myService
デモ うまくできるといいな
Backbone style > npm install -g generator-backbone > mkdir backbone
&& cd $_ > yo backbone > grunt serve
Backbone style > yo backbone:model blog > yo backbone:collection blog
> yo backbone:router blog > yo backbone:view blog
デモ 時間があったら
はまったとこ • compassがエラー吐きまくる... • compassとsassの相性が問題らしい • compassとsassをgemでinstallしなおす • とりあえず以下バージョンで動作確認済 ◦
compass 0.12.2 ◦ sass 3.2.12 • http://javascript-memo2.seesaa.net/article/38459314 1.html
感想 • とにかく簡単 • AngularJSとかBackboneの知識が浅くてもコマンドさえ覚 えちゃえばベースは作れそう • Gruntfileを自動で作ってくれるのとてもありがたい • 最初からGruntfileが機能モリモリで生成されるからある程
度の知識がないと何やってるか全然分かんないと思う(まあ 分かんなくても作れるけど) • “volo”っていう似たツールも気になるところ
リンク • yeoman official site ◦ http://yeoman.io/ • yeoman-generator ◦
https://github.com/yeoman/generator
ご清聴ありがとうございます。
What is volo? • https://github.com/volojs/volo
None