Skip to content

A standard vagrant / puppet configuration for new PHP / Symfony 3 projects

Notifications You must be signed in to change notification settings

votee/default-vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Vagrant/Puppet Default Setup

Setup

  • Install vagrant on your system see vagrantup.com

  • Install vagrant-hostsupdater on your system see cogitatio/vagrant-hostsupdater

  • Get a base box see vagrantup.com docs

  • Get a copy of this repository. You can do this either by integrating it as a git submodule or by just checking it out and copying the files. Prefarably, the contents of this repository should be placed in a directory vagrant inside your project's root dir.

  • Copy vagrant/Personalization.dist to vagrant/Personalization and modify vagrant/Personalization according to your needs.

    Example:

    $vhost = "test"
    $ip = "192.168.10.42"
    
    $base_box = "bento/ubuntu-18.04"
    
    $webserver = "nginx"
    • Execute "vagrant up" in the directory vagrant.

Infrastructure

After performing the steps listed above, you will have the following environment set up:

  • A running virtual machine with your project on it
  • Your project directory will be mounted as a synced folder in this virtual machine
  • Your project will be accessible via a browser (go to http://{$vhost}.localhost/[app_dev.php])
  • You can now start customizing the new virtual machine. In most cases, the machine should correspond to the infrastructure your production server(s) provide.

About

A standard vagrant / puppet configuration for new PHP / Symfony 3 projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 63.7%
  • Puppet 13.9%
  • Perl 11.8%
  • HTML 10.1%
  • Other 0.5%