Last active
June 12, 2017 15:00
-
-
Save brunohulk/7b1eb6a7cb6ca4019791e74cfc0af2cb to your computer and use it in GitHub Desktop.
This file contains 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
#vagrant global-status -> Status of the vagrant's boxes | |
#Create a vagrant file | |
vagrant init | |
#Vagrant file sample | |
Vagrant.configure("2") do |config| | |
config.vm.box = "rbayliss/PHP53" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.synced_folder "relative_folder", "/var/www" | |
end | |
#Up the vagrant | |
vagrant up | |
#Connect to a vagrant box | |
vagrant ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment