Created
October 29, 2014 22:34
-
-
Save datawebbie/d2f5aa3631d512d3719c to your computer and use it in GitHub Desktop.
Creating agile development environment with Vagrant and Docker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install VirtualBox from official website - https://www.virtualbox.org/wiki/Downloads | |
| # Download Vagrant and install - http://www.vagrantup.com/downloads.html | |
| # Do normall App install on Mac for both | |
| # Download Vagrant box images from here - http://www.vagrantbox.es/ | |
| # Or use local boxes if you already have them | |
| # Adding vg alias to ~/.bash_profile | |
| alias vg='vagrant' | |
| # Creating new box from current VirtualBox image | |
| vagrant package --base name-of-the-virtual-box-shown-in-VirtualBox --output output-file-name-include-dot-box-extension | |
| # Add the box and up | |
| vagrant box list | |
| vagrant box add boxname url | |
| mkdire vgproject | |
| cd vgproject | |
| vagrant init | |
| # Edit Vagrantfile to setup | |
| vagrant up | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment