Skip to content

ggs-pages/php-dev-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.0%
  • Ruby 7.0%