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}