How to set-up and run

  1. Export source to zip file from eclipse or similar
  2. Run the following command on ubuntu to isntall the required dependancies: $sudo apt-get install python-cherrypy3 python-mako python-mysqldb
    1. Ensure python pip is installed: $sudo apt-get install python-pip
    2. Alternatively, install mysqldb, cherrypy and mako manually on other platforms using pip.
      1. How to install pip on windows: http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows
      2. $pip install cherrypy
      3. $pip install mysql-python
      4. $pip install mako
      5. $pip install ndg-httpsclient
    3. Install ndg-httpsclient using $sudo pip install ndg-httpsclient
  3. Unzip the exported build using:
    1. $tar -xzvf ErrorUI.tar.gz
  4. Navigate to resources folder
  5. 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.
  6. You will need to setup a few config files in the resources folder, these are as follows:
    1. database.cfg - this file hold the configuration for the database that you are connecting to.
    2. server.cfg - this file define how this server will run, ie. what dns address and port it will run on
    3. auth.cfg - this file defines the location and authentication details of the interoperability layer interface so that transaction can be re-run
  7. Navigate /openhix-ui/ and locate errorui.py and execute it using python: $python errorui.py &

Database dump for testing