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
Vagrant: why and how
Search
Giustino Borzacchiello
July 15, 2016
Technology
0
70
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
220
The WordPress Economy
justb
0
240
10* useful WordPress function (* maybe more) - wctrn
justb
0
450
The WordPress Loop
justb
1
420
10 Useful WordPress functions (and maybe more)
justb
4
470
MapReduce for clone detection
justb
0
59
Featured posts with thumbnails
justb
0
30
Other Decks in Technology
See All in Technology
UE5の雑多なテク
ryuichikawano
0
410
OPENLOGI Company Profile
hr01
0
54k
クレジットカードを製造する技術
yutadayo
81
48k
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
490
テストを楽に書きたい
tomorrowkey
1
190
New Relicを活用したシステム監視の強化とオブザーバビリティ向上
sugoto911
1
100
普通の Web エンジニアのための様相論理入門 #yapcjapan / YAPC Hakodate 2024
ytaka23
5
1.5k
Oracle Database 23ai 新機能#4 Rolling Maintenance
oracle4engineer
PRO
0
130
【インフラエンジニアbooks】30分でわかる「AWS継続的セキュリティ実践ガイド」
hssh2_bin
4
1.7k
怖くないオフライン機能開発 〜基本的な技術で実現する現場向けオフライン機能 / Developing offline functions without fear ~ Offline functions for the field realized with basic technology
kaminashi
1
110
RAG: from dumb implementation to serious results
glaforge
0
150
Assisted reorganization of data structures
ennael
PRO
0
270
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
What the flash - Photography Introduction
edds
67
11k
How to Think Like a Performance Engineer
csswizardry
16
1k
Clear Off the Table
cherdarchuk
91
320k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Why Our Code Smells
bkeepers
PRO
334
57k
Designing the Hi-DPI Web
ddemaree
280
34k
Building an army of robots
kneath
302
42k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
41
9.2k
Happy Clients
brianwarren
97
6.7k
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!