Installation Steps

From PANACeA THIRRA

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
=== INSTALLATION STEPS ===
=== 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.
- Obtain tar ball or pull down via Subversion from Sourceforge
- Obtain tar ball or pull down via Subversion from Sourceforge
Line 22: Line 24:
   - /var/www/uploads/patient_pics
   - /var/www/uploads/patient_pics
   - /var/www/uploads/case_pics
   - /var/www/uploads/case_pics
 +
 +
- Copy the whole mpdf directory to thirra/mpdf
- To launch THIRRA use the following URL in browser that supports XHTML:
- To launch THIRRA use the following URL in browser that supports XHTML:

Revision as of 03:54, 17 March 2010

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.

- 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 files:

 thirra/app_thirra/config/config.php
 - change $config['base_url']	= "http://127.0.0.1/thirra/"; to an appropriate URL
 thirra/app_thirra/config/config.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

- 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/uploads/patient_pics
 - /var/www/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