Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
phpcon2016_LT_koala-dev-env
Search
ueshiy
November 05, 2016
2k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
phpcon2016_LT_koala-dev-env
ueshiy
November 05, 2016
More Decks by ueshiy
See All by ueshiy
phpcondo2017_15min_AMP
ueshiy
0
320
phpconfuk2017_LT_JSON-LD
ueshiy
2
380
yapcasia8oji2016mid_LT_vagrant-up-up
ueshiy
0
810
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
590
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Code Review Best Practice
trishagee
74
20k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
How to Ace a Technical Interview
jacobian
280
24k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Building the Perfect Custom Keyboard
takai
2
900
It's Worth the Effort
3n
188
29k
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ཧιʔε υΩϡϝϯτϧʔτԼ ֘σΟϨΫτϦ
·ͱΊ ҧ͏ͱ͜Ζ • ىಈ • ࣗ༝ͷࠩ • ߏͷγϯϓϧ͞ • ద༻͖͢ڥ
·ͱΊ ։ൃڥϓϩδΣΫτʹ߹Θͤͯબ • ։ൃϑϩʔ • ຊ൪ڥͷߏ • ΞϓϦέʔγϣϯͷੑ࣭ • ӡ༻ɾཧ
·ͱΊ ։ൃڥϓϩδΣΫτʹ߹Θͤͯબ ։ൃڥͷརศੑ্͕͕Ε ։ൃޮ্͕Γ·͢ʂ ʮڥͷ࠷దԽʯେࣄͰ͢Ͷɻ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠