I had all sorts of issues using phpunit with my x2engine install. Since phpunit should be installed with phar or composer now (not pear, see https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method), I had to…

Note: You may want to see my Teamcity server guide as well: http://peterjolson.com/installing-teamcityyoutrack-in-a-tomcat-container-with-tomcat-virtual-host-smartos-vm/ Getting Started. I started with http://wiki.joyent.com/wiki/display/jpc2/Java+Instance. svcadm disable tomcat #we won't…

Some of this is taken from smartos docs. Steps: Create your blank VM vi /opt/ubuntu1404.json: { "alias": "Ubuntu-14.04", "autoboot": true, "brand": "kvm", "hostname": "ubuntu-14.04", "resolvers": [ "8.8.8.8", "8.8.4…

I ended up using cabinet with http://blueimp.github.io/jQuery-File-Upload/ for my forms. By default cabinet comes with dropzone as a way to upload files. This is great, but I wanted to be able…

This tutorial assumes you have php and apache already installed. Installing mongo: https://www.digitalocean.com/community/articles/how-to-install-mongodb-on-ubuntu-12-04 Install mongodb php driver (run as root): apt-get istall make pecl install mongo echo extension=mongo…