Installation Steps

From PANACeA THIRRA

Revision as of 08:10, 24 October 2010 by Jasontan (Talk | contribs)
Jump to: navigation, search

INSTALLATION STEPS

- Ensure that the system has the Apache webserver is running properly with PHP activated. The postgresql extension for PHP must be installed to allow Apache to access the database server. These components must be working first, before trying to install THIRRA, so that any installation error can be identified more easily.

- Obtain tar ball or pull down via Subversion from Sourceforge

  svn co https://thirra.svn.sourceforge.net/svnroot/thirra thirra 

- Place "thirra" directory into web server document root - Edit the following database config file:

 thirra/app_thirra/config/database.php
 - change $db['default']['database'] = "thirra-3625"; to the correct database.
 - make sure that the database user and password is correct.

- Change ownership of the whole "thirra" directory to web server user

- Create and restore database (available separately) inside PostgreSQL, using either pgsql or PgAdmin3. Ensure that the database schema matches the correct version of THIRRA.

- Create the required directories (look inside the thirra/docs/directories_required.txt for the latest info.

 - /var/www/synch-THIRRA/in
 - /var/www/synch-THIRRA/out
 - /var/www/thirra-uploads/patient_pics
 - /var/www/thirra-uploads/case_pics

- Copy the whole mpdf directory to thirra/mpdf

- To launch THIRRA use the following URL in browser that supports XHTML:

 http://[appropriate_domain_name]/thirra/
Personal tools