GithubHelp home page GithubHelp logo

qpc-github / matomo-dev-environment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matomo-org/matomo-dev-environment

1.0 2.0 1.0 82 KB

Matomo Development Environment (Vagrant)

Home Page: http://developer.matomo.org

License: GNU General Public License v3.0

Shell 11.60% Ruby 18.07% PHP 9.22% Puppet 56.73% Pascal 0.06% Dockerfile 4.32%

matomo-dev-environment's Introduction

Piwik Development Environment

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/

Docker

This is work in progress

Available boxes

  • Ubuntu 14.04

Installation

  1. Install Docker
  2. Clone this repository including all submodules (git clone --recursive https://github.com/piwik/piwik-dev-environment.git)
  3. Build docker build -t piwikdev .
  4. Run docker run -d piwikdev

Vagrant

Available boxes

  • Ubuntu 14.04

Installation

  1. Install Vagrant
  2. Clone this repository including all submodules (git clone --recursive https://github.com/piwik/piwik-dev-environment.git)
  3. 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

With VirtualBox
  1. Install VirtualBox
  2. Execute the command vagrant up within the root folder
  3. That's it. It'll take some time when executing this command the first time. It'll download the Vagrant base box once and install all required packages.
  4. Don't forget to update your local hosts file. You have to add "apache.piwik" as well as "nginx.piwik".
With Amazon AWS
  1. vagrant plugin install vagrant-aws
  2. Provide AWS keyname, access key & secret key in vagrantconfig_local.yaml
  3. vagrant up --provider=aws
  4. Execute puppet/files/setup.sh once (we should add this to Puppet)

Usage

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.

Installed Packages

  • PHP
  • PHP QA Tools (PHPUnit, PHPMD - PHP Mess Detector, PHP Depend, PHP CodeCoverage, PHP_CodeSniffer, ...)
  • Apache2
  • NGINX & PHP-FPM
  • MySQL
  • Percona-Toolkit
  • Subversion
  • Git
  • Composer
  • XHProf

Troubleshooting

You'll find Piwik here: /home/vagrant/www/piwik

matomo-dev-environment's People

Contributors

cspollar avatar halfdan avatar mnapoli avatar tsteur avatar vladistan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.