Skip to content

Instantly share code, notes, and snippets.

@k-motoyan
Last active August 29, 2015 13:56
Show Gist options
  • Save k-motoyan/8997267 to your computer and use it in GitHub Desktop.
Save k-motoyan/8997267 to your computer and use it in GitHub Desktop.
zephir provisioning from vagrant
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