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
270
楽しいesaの作り方
fukayatsu
0
240
tqrk07-fukayatsu.pdf
fukayatsu
3
410
Other Decks in Technology
See All in Technology
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
600
Platform Engineering for Software Developers and Architects
syntasso
1
520
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
230
日経電子版のStoreKit2フルリニューアル
shimastripe
1
140
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
強いチームと開発生産性
onk
PRO
35
11k
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
230
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
9
1.1k
Lambdaと地方とコミュニティ
miu_crescent
2
370
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
390
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
250
Featured
See All Featured
For a Future-Friendly Web
brad_frost
175
9.4k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Gamification - CAS2011
davidbonilla
80
5k
Automating Front-end Workflow
addyosmani
1366
200k
Building an army of robots
kneath
302
43k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
What's in a price? How to price your products and services
michaelherold
243
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
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༵