Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://demo.oscarmcmaster.org:11042/job/oscar15BetaMaster/lastSuccessfulBuild/artifact/*zip*/archive.zip

Initialize the DB

Code Block
languagebash
cd database/mysql
chmod +x createdatabase*
./createdatabase_on.sh <user> <password> oscar


loading oscarinit.sql...
loading oscarinit_on.sql...
loading oscardata.sql...
loading oscardata_on.sql...
loading icd9.sql...
changing to caisi directory...
loading initcaisi.sql...
loading initcaisidata.sql...
changing back to the mysql directory...
loading icd9_issue_groups.sql...
loading measurementMapData.sql...
loading expire_oscardoc.sql
all done!
the default user is oscardoc
password mac2002
pin 1117
For security reasons these credentials are set to expire in a month!


Install a properties file to your home directory (or home directory of the user running tomcat)

Code Block
languagebash
cd target
jar xf oscar-14.0.0-SNAPSHOT.war WEB-INF/classes/oscar_mcmaster.properties
cp WEB-INF/classes/oscar_mcmaster.properties ~/oscar.properties


Next change a few lines..just enough to boot this up

Code Block
languagebash
db_name = oscar?zeroDateTimeBehavior=round&useOldAliasMetadataBehavior=true&jdbcCompliantTruncation=false
db_username = root
db_password = <password>
BASE_DOCUMENT_DIR=/var/lib/OscarDocument/ #make sure this exists, and permissions are ok