- Export source to zip file from eclipse or similar
- Run the following command on ubuntu to isntall the required dependancies: $sudo apt-get install python-cherrypy3 python-mako python-mysqldb
- Ensure python pip is installed: $sudo apt-get install python-pip
- Alternatively, install mysqldb, cherrypy and mako manually on other platforms using pip.
- How to install pip on windows: http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows
- $pip install cherrypy
- $pip install mysql-python
- $pip install mako
- $pip install ndg-httpsclient
- Install ndg-httpsclient using $sudo pip install ndg-httpsclient
- Unzip the exported build using:
- $tar -xzvf ErrorUI.tar.gz
- Navigate to resources folder
- Execute update_database_x.sql against the interoeprability_layer database created by the RHEA Health Information Mediator. There are multiple of these, execute them in order according to their number.
- You will need to setup a few config files in the resources folder, these are as follows:
- database.cfg - this file hold the configuration for the database that you are connecting to.
- server.cfg - this file define how this server will run, ie. what dns address and port it will run on
- auth.cfg - this file defines the location and authentication details of the interoperability layer interface so that transaction can be re-run
- Navigate /openhix-ui/ and locate errorui.py and execute it using python: $python errorui.py &
Database dump for testing
{"serverDuration": 54, "requestCorrelationId": "846ef0960b0d49e4bf5a27669a479f26"}