A VERY simple Magento environment provisioner for Vagrant.
Prerequisites
git clone https://github.com/r-baker/simple-magento-vagrant.git
vagrant up
The first time you run this, Vagrant will download the bare Ubuntu box image. This can take a little while as the image is a few-hundred Mb. This is only performed once.
Vagrant will configure the base system before downloading Magento and running the installer.
127.0.0.1:8080
127.0.0.1:8080/admin
admin
Password: password123123
vagrant ssh
vagrant halt
Full Vagrant command documentation
Sample data is automatically downloaded and installed by default. However, it's a reasonably large file and can take a while to download.
"I don't want sample data"
Sample data installation can be disabled:
Vagrantfile
sample_data = "true"
to sample_data = "false"
vagrant up
as normal"I have already downloaded the sample data"
tar.gz
file in the project rootsample_data = "true"
vagrant reload --provision
Why no Puppet/Chef? Admittedly, Puppet and Chef are excellent solutions for predictable and documented system configurations. The emphasis for this provisioner is on unopinionated simplicity. There are some excellent Puppet / Chef Magento configurations on Github with far more bells and whistles.