+ All Categories
Home > Technology > Vagrant. Halturin Artem

Vagrant. Halturin Artem

Date post: 20-May-2015
Category:
Upload: adci-llc
View: 135 times
Download: 4 times
Share this document with a friend
Popular Tags:
12
Transcript
Page 1: Vagrant. Halturin Artem
Page 2: Vagrant. Halturin Artem

V for Vagrant.

Halturin Artem - Web DeveloperADCI Solutions

Page 3: Vagrant. Halturin Artem
Page 4: Vagrant. Halturin Artem

Vagrant. Basic commands

>vagrant up - create or start VM.>vagrant provision - install or update VM configuration.> vagrant ssh - ssh connection with VM.>vagrant reload - restart VM.>vagrant halt - stop running VM.>vagrant destroy - remove VM.

Page 5: Vagrant. Halturin Artem

Installation process on the cmartbooks project. Vagrant

>cd C:/Vagrant/>git clone https://github.com/ADCI/cmartbooks-ci.git>cd cmartbooks-ci>vagrant up>vagrant provision

Page 6: Vagrant. Halturin Artem

Installation process on the cmartbooks project. Phing

>vagrant ssh>cd var/www/insurance/>phing cm-up

The project is ready. It is shown here: http://localhost:4567

Page 7: Vagrant. Halturin Artem
Page 8: Vagrant. Halturin Artem

We use phing to increase the speed of our work on the project.

>phing db-restore>phing pull>phing push “-Dm=Git comment”

One phing command = some console commands

Page 9: Vagrant. Halturin Artem

Profit!- Equal working environment for each developer.- Equal working environment as on the live site- Simple way for adding new developers.- Spreading configuration changes of VM. Easy!- Linux console.- Phing- Fast Drupal

Page 10: Vagrant. Halturin Artem
Page 11: Vagrant. Halturin Artem

DEMO!

Page 12: Vagrant. Halturin Artem

Thank you!

http://adcisolutions.com/artem-halturin


Recommended