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
phpcon2016_LT_koala-dev-env
Search
ueshiy
November 05, 2016
2
2k
phpcon2016_LT_koala-dev-env
ueshiy
November 05, 2016
Tweet
Share
More Decks by ueshiy
See All by ueshiy
phpcondo2017_15min_AMP
ueshiy
0
300
phpconfuk2017_LT_JSON-LD
ueshiy
2
370
yapcasia8oji2016mid_LT_vagrant-up-up
ueshiy
0
700
Featured
See All Featured
Statistics for Hackers
jakevdp
799
220k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Building Adaptive Systems
keathley
43
2.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
It's Worth the Effort
3n
187
28k
How GitHub (no longer) Works
holman
315
140k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Producing Creativity
orderedlist
PRO
347
40k
Transcript
ίΞϥͷ։ൃڥճސ @uessy_akr
͡Ί·ͯ͠ɻ id: @uessy_akr, name: ͏͑͠ʔ, description: ओʹTwitterʹੜଉ͍ͯ͠ΔίΞϥ, work: σΟϨΫγϣϯ ٴͼ
։ൃ at
։ൃڥɺͲ͏ͯ͠·͔͢ʁ
ύλʔϯͦͷ̍ ։ൃڥɺͲ͏ͯ͠·͔͢ʁ ࣾ։ൃڥ
ύλʔϯͦͷ̍ ։ൃڥɺͲ͏ͯ͠·͔͢ʁ • ෳਓͰڞ༗ • ฤूதͷϑΝΠϧ͕ඃͬͨ࣌ͷ൵ܶ • Ͳ͜Ͱ git commit
͢Δͷ͔ʁ • ಥग़ݱ͢Δ ୭͔ͷ var_dump() • ͭΒ͍
ύλʔϯͦͷ̎ ։ൃڥɺͲ͏ͯ͠·͔͢ʁ ࣾ։ൃڥ
ύλʔϯͦͷ̎ ։ൃڥɺͲ͏ͯ͠·͔͢ʁ • ൃੜ࣌ʹଞਓΛר͖ఴ͑ʹ͢ΔՄೳੑ • Ͳ͜Ͱ git commit ͢Δͷ͔ʁ •
ϩʔΧϧϦϙδτϦΛPCଆʹஔ͍͓͖͍ͯͨ ߹ʹͭΒ͍
• ѻ͍͕؆୯Ͱ • ෳ→ల։͘͢͠ • ιʔεϑΝΠϧϩʔΧϧʹ • ։ൃڥ্ͷϑΝΠϧಉظࣗಈͰ • ঢ়ଶͷΓ͠Λָʹ
खܰʹखݩʹཉ͍͠ΑͶ ։ൃڥɺͲ͏ͯ͠·͔͢ʁ
Vagrant
Vagrant ϋΠύʔόΠβܕԾԽ Ծαʔό ήετOS ϛυϧΣΞ ΞϓϦ Ծαʔό ήετOS ϛυϧΣΞ ΞϓϦ
ϗετOS
Vagrant ϝϦοτ • ͦͷ࣌ͰͷVMͷதΛ·Δͬͱ "box" ʹͰ͖Δ • DBͷ༰ؚΊશ͘ಉ͡ڥΛڞ༗͍͢͠ • 1ͭͷVMʹશͯ·ͱ·ΔͷͰγϯϓϧ
• ήετϚγϯ্Ͱͷࣗ༝͕ߴ͍
Vagrant σϝϦοτ • ىಈ͕͍ • ϝϞϦσΟεΫͷফඅ͕ܹ͍͠
Docker
Docker ίϯςφܕԾԽ ΞϓϦ ϛυϧΣΞ ίϯςφ ΞϓϦ ϛυϧΣΞ ίϯςφ ϗετOS
Vagrant ϋΠύʔόΠβܕԾԽ Ծαʔό ήετOS ϛυϧΣΞ ΞϓϦ Ծαʔό ήετOS ϛυϧΣΞ ΞϓϦ
ϗετOS
Docker ίϯςφܕԾԽ ΞϓϦ ϛυϧΣΞ ίϯςφ ΞϓϦ ϛυϧΣΞ ίϯςφ ϗετOS
Docker ϝϦοτ • ىಈ͕͍ • ϝϞϦσΟεΫͷফඅൺֱతগͳ͍ • ϓϨʔϯͳڥΛԿ࡞ɾഁغͰ͖Δ • ຊ൪ڥ(ˍϦϦʔε)ʹద༻͞ΕΔ͜ͱ
Docker σϝϦοτ • ʮσʔλͷอଘʯʹҰख͍ؒΔ • ߏ͕ෳࡶԽ͍͢͠
·ͱΊ
·ͱΊ ࣅͯΔͱ͜Ζ • ެࣜͰ͞Ε͍ͯΔbox/Πϝʔδ͕๛ • ઃఆϑΝΠϧʹڥઃఆΛ·ͱΊΒΕΔ • ಉ͡ڥͷෳˠڞ༗ָ͕ʹߦ͑Δ • ڥߏஙͷࣗಈԽ
• ҙͷ࣌ͷঢ়ଶͷΓ͕͠༰қ • ϗετϚγϯͱͷσΟϨΫτϦಉظ͕ศར
·ͱΊ σΟϨΫτϦͷಉظ͕ศར Vagrantfile ͕͋Δ σΟϨΫτϦ /vagrant (Ճ) ҙͷσΟϨΫτϦ (Ճ) ҙͷσΟϨΫτϦ
gitཧιʔε υΩϡϝϯτϧʔτԼ ֘σΟϨΫτϦ
·ͱΊ ҧ͏ͱ͜Ζ • ىಈ • ࣗ༝ͷࠩ • ߏͷγϯϓϧ͞ • ద༻͖͢ڥ
·ͱΊ ։ൃڥϓϩδΣΫτʹ߹Θͤͯબ • ։ൃϑϩʔ • ຊ൪ڥͷߏ • ΞϓϦέʔγϣϯͷੑ࣭ • ӡ༻ɾཧ
·ͱΊ ։ൃڥϓϩδΣΫτʹ߹Θͤͯબ ։ൃڥͷརศੑ্͕͕Ε ։ൃޮ্͕Γ·͢ʂ ʮڥͷ࠷దԽʯେࣄͰ͢Ͷɻ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠