daithi-coombes / vagrant-jenkins-php

Vagrant box for running Jenkins with PHP projects
MIT License
2 stars 0 forks source link

additional packages & plugins #1

Open daithi-coombes opened 9 years ago

daithi-coombes commented 9 years ago

Rely heavily on composer where possible to install phars in provisioning.

daithi-coombes commented 9 years ago

if issue's with charts then try installing openjdk-7-headless. Also using oracle jre headless instead of the openjdk might allow us to skip the massive texlive-font-utils package above

daithi-coombes commented 9 years ago

Use composer as the main package manager for each of the php metrics tools - importantly the composer.json file must be exposed to the shared folder - ie accessible without having to ssh into the vm

daithi-coombes commented 9 years ago

Installing Wordpress Coding Standard

To do this I ssh'd into vagrant and ran:

cd /opt
git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
phpcs --config-set installed_paths /opt/wpcs

Note I had permission problems with phpcs so I ran the last command as sudo, also I had previously changed permissions of /opt so cloning wpcs into it was no problem