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
780
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
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
110
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
26
11k
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
470
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
5分でわかるDuckDB
chanyou0311
10
3.2k
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
220
MLOps の現場から
asei
6
630
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
440
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Rails Girls Zürich Keynote
gr2m
94
13k
Music & Morning Musume
bryan
46
6.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
How STYLIGHT went responsive
nonsquared
95
5.2k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Side Projects
sachag
452
42k
Site-Speed That Sticks
csswizardry
2
190
YesSQL, Process and Tooling at Scale
rocio
169
14k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
The Cult of Friendly URLs
andyhume
78
6.1k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
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༵