Download the latest OpenVPMS Installation files. Create a folder within your home folder to unzip the release into.
The following assumes a user named user: Move the package to ~/user/openvpms and unzip the Installation Pack. This should create a ~/user/openvpmsopenvpms-release-x.x.x folder with the necessary files to install OpenVPMS.
Installing MAMP provides a really easy way to configure and run MySQL. Download from http://www.mamp.info/en/downloads/
The free MAMP is fine, you don't need the paid pro version.
Download tar.gz core binary distribution of Apache Tomcat version 6 from http://tomcat.apache.org/download-60.cgi
Unpack it and then move it to your home directory so it will be in ~/user/apache-tomcat-6.x.x/lib/
Download the connector/J which is needed to connect openvpms to the database. You then extract it and copy the mysql-connector-java-x.x.x-bin.jar to:
Download libreoffice and install it
open a terminal window and edit your .profile file eg. type:
nano .profile
add the following to your .profile file
export JAVA_HOME=/Library/Java/Home export CATALINA_HOME=/users/user/apache-tomcat-6.0.35 export PATH=/Applications/LibreOffice.app/Contents/MacOS:$PATH
Start the mysql database using mamp. Using phpmyadmin (installed with mamp) go the import tab and navigate to ~/user/openvpmsopenvpms-release-x.x.x/db/createdb.sql
Import it and then navigate to ~/user/openvpmsopenvpms-release-x.x.x/db/db.sql and import it as well.
Now in a terminal window cd to ~/user/openvpmsopenvpms-release-x.x.x/bin
run the setup by typing
./dataload.sh setup
Copy the openvpms.war from ~/user/openvpmsopenvpms-release-x.x.x/webapps/ to ~/user/apache-tomcat-6.x.x/webapps/
Hopefully now you are ready to go. I installed this a long time ago so to the best of my knowledge I haven't missed any necessary configuration. To start and stop tomcat cd to ~/user/apache-tomcat-6.x.x/bin and then run
./startup.sh
or
./shutdown.sh
using the terminal
Once it starts up you should be able to access openvpms at http://localhost:8080/openvpms/app