際際滷

際際滷Share a Scribd company logo
Vagrant Drupal Development
Presented by danylevskyi (Dmytro Danylevskyi)
DrupalCamp Kyiv 2013
Professional Drupal
Development Environment

UNIX with Apache?, PHP, MySQL

Debuggers

Profilers

DB administration tools

Drush

IDE?
Too many computers!

Computer at office

Computer at home

Laptop

Girlfriend's computer
Parallel projects
Projects with different PHP
versions.
Dev != Live
Code works on my development
machine, but not on production
server...
Remote developers
It takes time for preparations to
start work.
Tools

LAMP, MAMP, WAMP

XAMPP, Denwer

Remote server

Virtual Machine images

Configuration with executable
scripts
Vagrant Drupal Development
(VDD)
VirtualBox
+
Vagrant
+
Chef Solo
JSON Configuration
"ip": "192.168.100.100",
"memory": "1024",
"synced_folder": {
"host_path": "data/",
"guest_path": "/var/www",
"use_nfs": true
}
$ vagrant up

$ vagrant up

$ vagrant halt

$ vagrant destroy

$ vagrant reload

$ vagrant provision
Links

https://drupal.org/project/vdd

http://www.vagrantup.com/

http://www.opscode.com/chef/
Thank You!

More Related Content

Vdd