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
420
Other Decks in Technology
See All in Technology
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
320
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
180
KMP with Crashlytics
sansantech
PRO
0
240
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
150
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
200
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
440
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
170
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
130
AWSの生成AIサービス Amazon Bedrock入門!(2025年1月版)
minorun365
PRO
7
460
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
54k
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
460
駆け出しリーダーとしての第一歩〜開発チームとの新しい関わり方〜 / Beginning Journey as Team Leader
kaonavi
0
120
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Thoughts on Productivity
jonyablonski
68
4.4k
A better future with KSS
kneath
238
17k
Fireside Chat
paigeccino
34
3.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
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༵