Installation¶
Composer to install dependancies¶
Using composer it is easy to download all jazzee libraries. Installation instructions are at Composer we generally install composer in our ~/bin directory for easy access just run:
curl -s https://getcomposer.org/installer | php -- --install-dir=~/bin
Then you can install all dependancies with:
cd JAZZEE_SRC
composer.phar install
Vagrant VM Environment¶
The fastest way to get started developing is to use Vagrant to create a development environment. You will need to install Virtualbox, Vagrant and Veewee on your system and you can build the Jazzee environment from scratch with a few commands.
| Install | Instructions |
|---|---|
| Virtualbox | https://www.virtualbox.org/ |
| Vagrant | http://www.vagrantup.com |
There are currently two types of VM supported, most development is done on the centOS based box, however there is also an Oracle Linux option for testing and working with an Oracle Database. If you wish to work with Oracle then copy the dev/Vegrantfile.orace file to JAZZEE_SRC before completing the following.
With Virtualbox and Vagrant installed run:
cd JAZZEE_SRC
cp dev/Vagrantfile.centos Vagrantfile
vagrant up
A lot of stuff will happen there - ISO files will be downloaded, a new installation will be built and then packaged for export. Packages will be installed and a new VM setup. Depending on your connection speed it can take anywhere from a few minutes to a few hours.
Final Setup¶
Jazzee is now available at http://localhost:8080
You will need to run some initial setup for Jazzee to get the database initialized. Log into your new virtual machine by doing:
cd JAZZEE_SRC
vagrant up
vagrant ssh
cd /vagrant
The run the setup instructions at Initial Setup