This configuration makes it very easy to start with Piwik development or to give Piwik a try in your local environment. It'll setup a virtual machine including everything you need to run Piwik. The Piwik project itself will be cloned into a shared/synced folder www/piwik
which makes it easy to change files within your host IDE. You even do not need to run the VM to change something.
Need more information? Have a look here: http://piwik.org/blog/2012/08/get-started-with-piwik-development-with-puppet-and-vagrant/
This is work in progress
git clone --recursive https://github.com/piwik/piwik-dev-environment.git
)docker build -t piwikdev .
docker run -d piwikdev
git clone --recursive https://github.com/piwik/piwik-dev-environment.git
)This step is optional. If you want any changes of the defaults, you can make changes in a local vagrant configuration. Have a look at vagrantconfig.yaml
for a list of possible settings.
cp vagrantconfig_local.yaml-dist vagrantconfig_local.yaml
vagrant up
within the root foldervagrant plugin install vagrant-aws
vagrantconfig_local.yaml
vagrant up --provider=aws
puppet/files/setup.sh
once (we should add this to Puppet)Open "http://apache.piwik" or "http://nginx.piwik:8080" after installation. You'll see the Piwik installation screen. XHProf is available under "http://xhprof.piwik".
MySQL listens to the external IP address. Use for instance 192.168.33.10
when trying to install Piwik.
You'll find Piwik here: /home/vagrant/www/piwik