Last active
August 29, 2015 13:56
-
-
Save k-motoyan/8997267 to your computer and use it in GitHub Desktop.
zephir provisioning from vagrant
This file contains hidden or 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
Vagrant.configure("2") do |config| | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.network :public_network | |
config.vm.provision :shell, :inline => <<-SHELL | |
sudo apt-get -y update | |
sudo apt-get -y install git gcc make re2c php5 php5-dev libpcre3-dev | |
git clone https://github.com/json-c/json-c.git | |
cd json-c && sh autogen.sh && ./configure && make && make install && cd ../ | |
git clone https://github.com/phalcon/zephir | |
cd zephir && ./install -c | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment