What is Vagrant? Vagrant is wrapper or collection of scripts for building and maintaining portable virtual development environment. We can say vagrant is command line script for VirtualBox (or any other individuals prefer VM environment). We will skip installation part of VirtualBox and Vagrant , as its very simple and easy, just follow instruction from there websites. When to use ? Basically vagrant is use to setup local development/testing environment. ex1) A developer 'A' written a code, he want to check how it work with PHP5 and PHP6 . Solution is simply deploy two guest machines (VM) with PHP5 and PHP6, Share same project dir with both VM and test it. A sysadmin 'B' written shell/python code to deploy LAMP environment, he want to test how it work with CentOS and how it work with Dabian. Lets release the kraken Assume vagrant is already installed. Search your favorite OS from here:- https://atlas.hashicorp.com/boxes/search . For example we use ...
Comments
Post a Comment