Difference between revisions of "Vagrant"

From rbachwiki
Jump to navigation Jump to search
Line 1: Line 1:
==Setting Up Vagrant==
==Setting Up Vagrant==
[https://www.vagrantup.com Download Vagrant]
[https://www.vagrantup.com Download Vagrant] <br>
[https://app.vagrantup.com/boxes/ Vagrant Boxes]
[https://app.vagrantup.com/boxes/ Vagrant Boxes]
Make Directory to work in (mac windows or linux)
Make Directory to work in (mac windows or linux)
Line 7: Line 7:
  code . # this open Visual Studio Code with a blank page
  code . # this open Visual Studio Code with a blank page
Vagrant and project files will go into this directory
Vagrant and project files will go into this directory
''' Files in a vagrant setup'''
*config.vm.box - Operating System
* config.vm.provider - virtualbox
* config.vm.network - How your host sees your box
* config.vm.shared_folder - How you access files from your computer

Revision as of 22:00, 12 February 2019

Setting Up Vagrant

Download Vagrant
Vagrant Boxes Make Directory to work in (mac windows or linux)

mkdir mydir
cd mydir
code . # this open Visual Studio Code with a blank page

Vagrant and project files will go into this directory Files in a vagrant setup

  • config.vm.box - Operating System
  • config.vm.provider - virtualbox
  • config.vm.network - How your host sees your box
  • config.vm.shared_folder - How you access files from your computer