Deploying Code
Author: Tedman Leung and Marc Dumontier
Pre-requisites
You need to have set up a development or deployment environment.
You need to downloaded the latest release from sourceforge.
You will need to expand the archive into a temporary working directory.
Initialize OSCAR
Run the following scripts :
- oscarinit.sql
- oscarinit_on.sql
- oscardata.sql
- oscardata_on.sql
- icd10.sql
Initialize CAISI
Run the following scripts :
- initcaisi.sql
- initcaisidata.sql
- init_ticklerplus.sql
- icd10_issue_groups.sql
Set-up Configuration Files
There is a configuration file oscar_mcmaster.properties. You need to put it in the home directory of the user under which tomcat will run.
The oscar_mcmaster.properties file name must match the name of the context path which you're using. As an example if you deploy to "oscar" you need to rename the file to oscar.properties in your home directory.
Go through the file and adjust properties accordingly. You should set the database connection parameters appropriately, drugref url, all the paths, plugins=on, caisi=on, survey=on, ticklerplus=on, ModuleNames=Caisi
Deploy to Tomcat
Copy oscar.war and OscarDocument.war to your $CATALINA_BASE/webapps directory

