-
Notifications
You must be signed in to change notification settings - Fork 2
How to use the vbox as a submodule
Sebastian Baum edited this page Jan 24, 2020
·
1 revision
The cool thing following this approach is, that you can easily update to a new version of vbox. Your vbox is under version control.
- Create a new folder/project
- Initialize a new git repo
git init
- Add ion2s-gmbh/vbox as a submodule.
git submodule add [email protected]:ion2s-gmbh/vbox.git
- Copy the box.sample.yml file and name it box.yml
cp configure/box.sample.yml configure/box.yml
- Change the box.yml according to your needs.
Most relevant are these configs:If you don't change it, you get presented the php info page which is served from the src folder inside of vboxBOX_NAME: <your-name> HOST_SRC_FOLDER: ./src # ./../ # -> place your code beside the vbox folder # ./../src # -> place your code in src folder beside the vbox folder.
- Vagrant up the box for the first time.