Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 834 Bytes

README.md

File metadata and controls

51 lines (33 loc) · 834 Bytes

PHP Dev environment

How to use it:

1 - In your vagrant file add the following:

# Inside
# Vagrant.configure(2) do |config|

  script = <<-SCRIPT
    sudo apt-get update -y
    sudo apt-get install -y curl
    curl https://raw.githubusercontent.com/ggs-pages/php-dev-box/master/vagrant/remote-install.sh | bash
  SCRIPT

  config.vm.provision :shell, inline: script

# end

2 - Create the virtual machine:

vagrant up

3 - Test it

vagrant ssh -c '~/repo/vagrant/test.sh'

4 - Log in:

vagrant ssh

Customizing

Create a vagrant/vagrant_after_install.sh. That is your customization hook.

License

This software is distributed under the MIT license.

Authors