Skip to content

Commit 76b8a71

Browse files
committed
Add vagrant support.
1 parent ea06037 commit 76b8a71

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/vendor
2+
.vagrant/
3+
.idea/

Vagrantfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
Vagrant.configure(2) do |config|
5+
config.vm.box = "ubuntu/trusty64"
6+
7+
config.vm.provision "shell", inline: <<-SHELL
8+
sudo apt-get update
9+
sudo apt-get install -y php5-cli
10+
11+
sudo curl --silent https://getcomposer.org/installer | php > /dev/null 2>&1
12+
sudo mv composer.phar /usr/local/bin/composer
13+
SHELL
14+
end

0 commit comments

Comments
 (0)