-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9c7b58
commit 0c4a06c
Showing
5 changed files
with
131 additions
and
35 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure(2) do |config| | ||
|
||
# It seems to need this here or "destroy" errors. | ||
config.vm.box = "boxcutter/ubuntu1604" | ||
|
||
|
||
config.vm.define "app" do |normal| | ||
|
||
config.vm.box = "boxcutter/ubuntu1604" | ||
config.vm.box_version = "2.0.18" | ||
|
||
|
||
config.vm.synced_folder ".", "/vagrant", :owner=> 'vagrant', :group=>'users', :mount_options => ['dmode=777', 'fmode=777'] | ||
|
||
config.vm.provider "virtualbox" do |vb| | ||
# Display the VirtualBox GUI when booting the machine | ||
vb.gui = false | ||
|
||
# Customize the amount of memory on the VM: | ||
vb.memory = "1024" | ||
end | ||
|
||
config.vm.provision :shell, path: "vagrant/app/bootstrap.sh" | ||
|
||
end | ||
|
||
|
||
end |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
sudo apt-get update | ||
sudo apt-get install -y php phpunit git zip | ||
|
||
mkdir /home/vagrant/bin | ||
cd /home/vagrant/bin | ||
wget -q https://getcomposer.org/composer.phar | ||
|