| 52 | |
| 53 | === Deploying PMI Lookup Development Version === |
| 54 | The version 1.0 artifact is located at http://mvn.briccs.org.uk/org/bru/briccs/briccs-pmi-lookup/development-1.0/briccs-pmi-lookup-development-1.0.war [[BR]] |
| 55 | |
| 56 | This version uses a !MySql database. Suitable SQL for creating and inserting data can be found at: |
| 57 | * svn+ssh://svn.briccs.org.uk/var/local/briccs/svn/repo/onyx/tags/pmi-lookup-1.0/src/sql/DropAndCreate.sql |
| 58 | * svn+ssh://svn.briccs.org.uk/var/local/briccs/svn/repo/onyx/tags/pmi-lookup-1.0/src/sql/Inserts.sql |
| 59 | |
| 60 | Once the database side has been dealt with, the procedure should be roughly the same as for a production version, with appropriate alterations as well to the context file: |
| 61 | |
| 62 | 1. Unzip war file into $BRICCS_WEBAPPS/briccs-pmi-lookup-development-1.0 |
| 63 | 1. Locate config file at $BRICCS_WEBAPPS/briccs-pmi-lookup-development-1.0/WEB-INF/classes/pmi-lookup-config.properties |
| 64 | 1. Edit the config file for database, user and password. There are appropriate templates in the config file. |
| 65 | 1. Locate and edit log4j properties file at $BRICCS_WEBAPPS/briccs-pmi-lookup-development-1.0/WEB-INF/classes/log4j.properties |
| 66 | 1. Place a context file for deployment within the tomcat tree: $CATALINA_HOME/webapps/patient-lookup.xml |
| 67 | 1. Deploy within tomcat using manager commands of some sort. |