forked from graze/guzzle-jsonrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
19 lines (15 loc) · 882 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Vagrant.configure("2") do |config|
# Box
config.vm.box = "ubuntu/trusty64"
# Shared folders
config.vm.synced_folder ".", "/srv"
# Setup
config.vm.provision :shell, :inline => "hostnamectl set-hostname guzzle-jsonrpc && locale-gen en_GB.UTF.8"
config.vm.provision :shell, :inline => "apt-get update --fix-missing"
config.vm.provision :shell, :inline => "apt-get install -q -y g++ make git curl"
config.vm.provision :shell, :inline => "add-apt-repository ppa:chris-lea/node.js"
config.vm.provision :shell, :inline => "add-apt-repository ppa:ondrej/php5-5.6 && apt-get update"
config.vm.provision :shell, :inline => "apt-get install -q -y php5-cli php5-curl php5-xdebug nodejs"
config.vm.provision :shell, :inline => "curl -s https://getcomposer.org/installer | php"
config.vm.provision :shell, :inline => "mv ./composer.phar /usr/local/bin/composer"
end