簡単に捨てれる 開発/検証環境
by
Akiteru Maeda
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
؆୯ʹࣺͯΕΔ ։ൃ/ݕূڥ 2016/5/27 @aki017
Slide 2
Slide 2 text
@aki017 • ࡶ༻ΤϯδχΞ@Happy Elements • JavaScript -> Perl -> Ruby • ࠓ͍ͬͯΔͷRuby, Golang, C# • ࠷ۙͷΈHeroku͕ྉۚϓϥϯม͑ͯ͜ͷ ··ͩͱຖ݄xxສԁ͔͔Δ͜ͱ
Slide 3
Slide 3 text
։ൃڥͷਏ͍
Slide 4
Slide 4 text
։ൃڥͷਏ͍ • OS͕ਓʹΑͬͯҧ͏ • ෳͷόʔδϣϯΛฒߦͯ͠͏ඞཁ͕͋Δ ʢޓੑ͕ͳ͍ʣ • खॱॻͳͲ͕ݹ͘ͳͬͯ͑ͳ͘ͳΔ
Slide 5
Slide 5 text
Α͋͘Δڥߏங෩ܠ • खॱॻΛݟͳ͕Βॱ൪௨ΓʹೖΕ͍ͯ͘ $ brew install mysql $ brew install memcached $ brew install redis
Slide 6
Slide 6 text
Α͋͘Δڥߏங෩ܠ • खॱॻ͕ߋ৽͞Εͣʹ์ஔ͞Ε͍ͯΔ ʢӡ༻தʹόʔδϣϯ্͕͕ΔͳͲʣ • ଞͷڥͰඞཁͳͷͱڝ߹ͯ͠ΠϯετʔϧͰ ͖ͳ͍ ʢҊ݅AͰmysql 5.6ɺBͰ5.5ʣ • OS XͷόʔδϣϯʹΑࣦͬͯഊ͢Δ
Slide 7
Slide 7 text
Q, Windows ͍͍ͨΜͰ͚͢Ͳʁ
Slide 8
Slide 8 text
A, खॱॻͳΜͯͳ͍͔Β ࣗྗͰͳΜͱ͔ͯ͠
Slide 9
Slide 9 text
Α͋͘Δڥߏங෩ܠ • OS Xͷใ͔͠ͳͯ͘ଞͷڥ͑ͳ͍ • ʢWindowsਏ͍ʣ • GNU/Linuxόʔδϣϯ͕߹Θͳ͔ͬͨΓͯ͠ ਏ͍ • *BSD
Slide 10
Slide 10 text
DockerΛ͏ • શһಉ͡ڥΛ͑Δ • ڥߏங͕1ίϚϯυͰऴΘΔ • खॱॻ͕ݹ͘ͳΔ͜ͱ͕ͳ͍ • docker-composeΛ͏ͱ ෳίϯςφΛ·ͱΊΕͯศར
Slide 11
Slide 11 text
ݕূ, εςʔδϯά ڥͷਏ͍
Slide 12
Slide 12 text
εςʔδϯάͷਏ͍ • ෳͷεςʔδϯά͕ඞཁʹͳΔ ࣍Πϕϯτ/ڞ༗/֬ೝ • Ұճ͚ͩ֬ೝ͢Δͷʹݟ͍ͨͱ͔͋Δ
Slide 13
Slide 13 text
No content
Slide 14
Slide 14 text
Docker
Slide 15
Slide 15 text
Έ • GitHubͰPR͕࡞͞ΕΔ • JenkinsͰDockerͷϏϧυ͕࢝·Δ • ݕূڥʹࣗಈͰσϓϩΠ͞ΕΔ
Slide 16
Slide 16 text
ँΔ
Slide 17
Slide 17 text
εςʔδϯά • docker-compose -f docker-compose- #{filename}.yml -p #{project_name} #{command}