V for Vagrant.
Halturin Artem - Web DeveloperADCI Solutions
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.
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
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
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
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
DEMO!
Thank you!
http://adcisolutions.com/artem-halturin
Top Related