Name: BlackfireMagentoVagrant
Owner: FireGento e. V. - Hackathons
Description: null
Created: 2015-04-19 18:09:19.0
Updated: 2018-03-27 07:55:12.0
Pushed: 2015-04-19 20:21:36.0
Homepage: null
Size: 120
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Based on https://github.com/r-baker/simple-magento-vagrant, but with the Blackfire profiler added and configured for you.
Includes https://github.com/magento-hackathon/Blackfireio
See the 'Prerequisites' section for important steps to launch Blackfire
A VERY simple Magento environment provisioner for Vagrant, with the Blackfire profiler included.
Prerequisites
git clone https://github.com/joshuaswarren/BlackfireMagentoVagrant.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”
- Place the sample data
tar.gz
file in the project root- Ensure
sample_data = "true"
- The provisioning script will skip the download and use the provided file instead. The same goes for when the provisioner is rerun. e.g.
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.