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
Development of cakes
Search
fukayatsu
December 07, 2012
Technology
2
790
Development of cakes
第1回 T2-Study #t2study - connpass
http://connpass.com/event/1422/
cakes.muの開発についての概要です。
fukayatsu
December 07, 2012
Tweet
Share
More Decks by fukayatsu
See All by fukayatsu
esaを支える技術と気持ち
fukayatsu
7
2.7k
esa.ioの育て方
fukayatsu
27
8.8k
[WIP] esa.io、その後の話
fukayatsu
20
6.5k
esaを支える睡眠を支える技術
fukayatsu
18
6.4k
esa.io - 趣味から育てたWebサービスで生きていく
fukayatsu
62
60k
esa-kai
fukayatsu
1
320
あなたの知らないesa
fukayatsu
0
280
楽しいesaの作り方
fukayatsu
0
240
tqrk07-fukayatsu.pdf
fukayatsu
3
410
Other Decks in Technology
See All in Technology
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
17
4.5k
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
110
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
550
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
460
podman_update_2024-12
orimanabu
1
280
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
160
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
権威ドキュメントで振り返る2024 #年忘れセキュリティ2024
hirotomotaguchi
2
750
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
130
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
120
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
310
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How STYLIGHT went responsive
nonsquared
95
5.2k
YesSQL, Process and Tooling at Scale
rocio
169
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Building Your Own Lightsaber
phodgson
103
6.1k
Unsuck your backbone
ammeep
669
57k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Transcript
#t2study 2012/12/07 @fukayatsu Development of cakes 1212݄8༵
@fukayatsu • Piece of cake, Inc. ΤϯδχΞ(2012/08-) • ͖: Ruby
/ Android / Sublime Text 2 • ौ୩.rbʹ࠷ۙࢀՃ࢝͠Ίͨ 1212݄8༵
https://cakes.mu 1212݄8༵
• CakePHP 2.2.xͰ։ൃ • ΠϯϑϥAWS • ΤϯδχΞʴσβΠφͰ4~5ਓ 1212݄8༵
agenda •Tools •Flow •Next cakes 1212݄8༵
Tools 1212݄8༵
github • Bronze ($25/month) • CEOฤूऀશһΞΧϯτ͋Γ • githubΛ͍ͬͯͳ͍ձࣾʹब৬͢Δؾ ແ͍Ϩϕϧ 1212݄8༵
pivotal tracker • Startup L ($18/month) • λεΫͱ༏ઌॱҐΛཧ • Agile
• http://agile.esm.co.jp/pivotaltracker/help/ gettingstarted_ja 1212݄8༵
Jenkins • OSS • σϓϩΠͷࣗಈԽ • όοΫΞοϓࣗಈԽ • stagingڥͷࣗಈԽ 1212݄8༵
hipchat • ($2/month per user) • νʔϜͷίϛϡχέʔγϣϯͷத৺ • githubɺpivotal trackerɺjenkins͔Β௨
͕ྲྀΕͯ͘Δ • ຊ൪σϓϩΠhipchat্ͷbotʹ͓ئ͍ 1212݄8༵
hubot • github͕ެ։͍ͯ͠ΔbotϑϨʔϜϫʔΫ • hipchat͚ͩͰͳ͘ɺirctwitterͳͲʹ ରԠ͍ͯ͠Δ • coffee-scriptͰίϚϯυΛՃͰ͖Δ 1212݄8༵
hubot commands • > hubot production deploy • => ຊ൪ڥʹσϓϩΠͯ͘͠ΕΔ
• > hubot misawa • => ࠈͷϛαϫը૾Λදࣔͯ͘͠ΕΔ • ͦͷଞ: http://fukayatsu.github.com/2012/12/03/ jotei-advent-calendar/ 1212݄8༵
ඇΤϯδχΞ ࢀরɾૢ࡞ ௨ ࣗಈԽ ίʔυཧ λεΫཧ ίϛϡχ έʔγϣϯ ΤϯδχΞ bot
ΞΫηεղੳ Πϯϑϥ 1212݄8༵
Flow 1212݄8༵
github-flow • NOT git-flow • ҰʹԿσϓϩΠ͢Δ • ৗʹmaster͔ΒϒϥϯνΛ࡞ => pull-requestͰϨϏϡʔˍϚʔδ
• https://gist.github.com/3705015 1212݄8༵
case study ʙϩάΠϯϖʔδΛ࡞Δʙ 1212݄8༵
1. story start • pivotal trackerͰstoryΛ[start] 1212݄8༵
2. create branch • ݱࡏͷmaster ϒϥϯν͔Βઆ໌తͳ ໊લͷϒϥϯνΛ࡞Δ • git checkout
-b login-page master 1212݄8༵
3. write code 1212݄8༵
4. push to remote • git push origin login-page 1212݄8༵
5. pull-request • masterpull-request • Ϛʔδͯ͠ཉ͍࣌͠ڞಉ࡞ۀ͢Δͱ͖ɺ ΞυόΠε͕ཉ͍࣌͠ʹpull-request͢Δ 1212݄8༵
6. code review, check at staging • ίʔυʹίϝϯτͨ͠Γɺ ৽͍͠ίʔυΛpushͨ͠Γ •
branchΛpush͢Δͱjenkins͕ϒϥϯν͝ ͱʹڥΛ࡞ͬͯ͘ΕΔΑ͏ʹͨ͠ ྫ) https://login-page.example.com 1212݄8༵
7. merge into master • ֬ೝͰ͖ͨΒϚʔδ͢Δ • େ͖͍ػೳՃCEOCTO͕֬ೝ 1212݄8༵
8. deploy to production • > hubot production deploy •
ཪͰhubot͕jenkinsͷjobΛ࣮ߦ͢Δ • ऴΘͬͨΒhipchatʹ௨ • σϓϩΠͱνʔϜͷڞ༗͕ 1ͭͷίϚϯυͰ݁ͯ͠շ 1212݄8༵
9. finish story • pivotal trackerͰstoryΛ[finish]&[deliver] • ຊ൪ڥͰͳ͚Ε[accept] 1212݄8༵
࣮ྃ 1212݄8༵
Delivered! 1212݄8༵
ΊͰͨ͠ ΊͰͨ͠ 1212݄8༵
Next cakes 1212݄8༵
Ϣʔβʔʹ ͬͱૣ͘ՁΛ ಧ͚͍ͨ 1212݄8༵
͕͜͜Γͳ͍ • ࣗಈςετ / TDD • ίʔυϨϏϡʔ • DRY •
ϑϨʔϜϫʔΫΛ׆͔͢ • ंྠͷ࠶։ൃΛ͠ͳ͍ 1212݄8༵
ϑϨʔϜϫʔΫΛ RailsҠߦ • ઃܭ͔Βཧ͢Δ • Ruby/Railsք۾ͷจԽΛ νʔϜʹऔΓࠐΉ 1212݄8༵
·ͱΊ 1212݄8༵
• github-flow => ྑ͍ • hubot deploy => ָ͍͠ •
CakePHP ͔Β Rails 1212݄8༵
͋Γ͕ͱ͏ ͍͟͝·ͨ͠ʂ 1212݄8༵
• ը૾: http://www.sxc.hu/ ࢀߟ 1212݄8༵