Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Vagrant: why and how
Giustino Borzacchiello
July 15, 2016
Technology
0
65
Vagrant: why and how
Our experience with Vagrant for WordPress development in Motork
Giustino Borzacchiello
July 15, 2016
Tweet
Share
More Decks by Giustino Borzacchiello
See All by Giustino Borzacchiello
Cos'è Gutenberg?
justb
1
190
The WordPress Economy
justb
0
200
10* useful WordPress function (* maybe more) - wctrn
justb
0
220
The WordPress Loop
justb
1
290
10 Useful WordPress functions (and maybe more)
justb
4
380
MapReduce for clone detection
justb
0
45
Featured posts with thumbnails
justb
0
22
Other Decks in Technology
See All in Technology
JUnit5.7, 5.8の新機能紹介 #jjug_ccc #jjug_ccc_b / junit 5.7, 5.8 new features
kyonmm
PRO
2
410
Azure Arc Virtual MachineとAzure Arc Resource Bridge / VM provisioning through Azure portal on Azure Stack HCI (preview)
sashizaki
0
110
Data in Google I/O - IO Extended GDG Seoul
kennethanceyer
0
150
JFrog 最新情報 - JFrog DevOps プラットフォームの今までとこれから / jfrog-update-for-devopskaigi-2022
tsuyo
0
150
UIKitのアップデート #WWDC22
akatsuki174
3
190
ログ基盤をCloudWatchLogからNewRelic Logs + S3に変えたら 利便性も上がってコストも下がった話
onohiroshi1
0
170
マネージャーからみたスクラムと自己管理化
shibe23
0
980
ノーメンテナンス運用実現のためのノウハウ/ColoplTech-05-02
colopl
0
160
NFT(非代替性トークン)、DeFi(分散金融) の虚像と実像 / NFT (Non-Fungible Token), DeFi (Decentralized Finance): False and Real Images
ks91
PRO
0
260
JDK Flight Recorder入門
chiroito
1
490
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
3
9k
ソフトウェアライセンス 2022 / Software License 2022
cybozuinsideout
PRO
1
970
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
261
37k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
119
28k
Code Reviewing Like a Champion
maltzj
506
37k
Happy Clients
brianwarren
89
5.6k
Music & Morning Musume
bryan
35
4.2k
Web Components: a chance to create the future
zenorocha
303
40k
Agile that works and the tools we love
rasmusluckow
319
19k
Six Lessons from altMBA
skipperchong
14
1.4k
Fontdeck: Realign not Redesign
paulrobertlloyd
73
4.1k
Code Review Best Practice
trishagee
43
9.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
315
19k
Transcript
Vagrant: why and how. Giustino Borzacchiello - MotorK HQ -
15/07/2016
Why?
The old days: PHP and MySQL
Nowadays: PHP MySQL Java Grails Solr JavaScript Backbone.js React npm
Grunt gulp.js Sass Less.js postcss CouchDB memcached phpMyAdmin Git webgrind Node. js nginx Apache WordPress
Installation
Configuration
Works on my machine
Multiple projects
Different operating systems
Vagrant is a tool for building, automatically, complete development environments,
sandboxed in a virtual machine.
How?
Install Vagrant
Install VirtualBox
$ vagrant init hashicorp/precise64
$ vagrant up
None
$ vagrant status
$ vagrant ssh
$ vagrant suspend
$ vagrant halt
Demo
Use case: WordPress development environment in MotorK
None
Standing on the shoulders of giants: VVV
Our challenges: Our solutions
Private repositories: SSH forwarding
Database sync with production: Single repo with dumps
Windows: Linux/Mac
What’s missing?
Providers
Provisioners
Multiple machines
Machine sharing
Takeaways
If my hard disk dies tomorrow, how much time should
I spend to be productive again?
Automate all the things!
Thank you!