How to Install Calamari
The installation process is a bit manual at the moment There are two components to install to get Calamari up and running, the back end and the front end.
Calamari Service Installation
Requirements: Java 5 or greater, Java application/web server
- Download the Calamari-1.0.war file from github
- Install a Java web server such as Tomcat, JBoss or Glassfish
- Copy the war file to the web application directory
- Create a directory /var/lib/databases - this is where the database will be stored. Make sure the user the Java application server runs as has read/write permissions to the directory.
- Start up the application server. The service should be available at http://<address>:<port>/Calamari-1.0/resources/dataservice/ and http://<address>:<port>/Calamari-1.0/resources/admin/ You won't be able to test it until a database has been created. You can use the front end to create the database or call http://<address>:<port>/Calamari-1.0/resources/admin/initdb. You should see some output in your server log files.
Calamari UI Installation
Requirements: JavaFX 1.2
- Download the Calamari-ui.jar and dependencies from GITHub. Please note that I have added a method to JFXTras so you will need to use the one on github. It is based on 0.6
- Place the dependencies in a folder called lib.
- Copy the lib folder, Calamar-UI.jar and the jnlp file to your web server directory.
- Edit the jnlp file so that the code base is correct. Currently it is set to codebase="file:/home/mark/workspace/Calamari-UI/dist/" change it to point to your browsers url.
- Open your browser and enter the url to the jnlp file.
- Once the application has loaded, go to the admin section.
- You can initialise your database form here is you haven't done so already.
- Enter the path to the log files, as seen by the server,
- Click on the import data button to import files.
