Installing the CSSC zonal deployment
The customizations for the zonal deployment of iHRIS Manage for the CSSC can be found on launchpad at:
https://code.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0
This bzr branch contains a collection of modules specifically defined for the CSSC, including standard data lists which will be maintained at the central level. There is also a site for each of the five zones and also for the central office.
WARNING: Do not try these instructions until you have provided the following lists:
pos_change_reason language language_proficiency degree edu_type employee_status
Databases
It is assumed that database for each of these sites will be:
- manage_cssc_central
- manage_cssc_western
- manage_cssc_eastern
- manage_cssc_southern
- manage_cssc_northern
- manage_cssc_lake
These databases can exist on either one or many computers.
The central site aggregates each of the zonal offices. The computer that contains the central site will need to have each of the above databases present. What you will do to aggregate in the central office is to to a database dump (mysqldump) for each of the zonal offices and import this into mysql on the computer which hosts the central site.
Installation
These are an adaptation of the regular installation instructions. Please refer to those for more information.
On each of the computers on which iHRIS will run, you will need to download the 4.0.2 (or greater) full-release of iHRIS Manage from here:
https://launchpad.net/ihris-manage
under the downloads. You will need to extract this under
/var/lib/iHRIS/lib/4.0.2
To do so you can try this:
sudo mkdir -p /var/lib/iHRIS sudo chown -R `whoami`:`whoami` /var/lib/iHRIS mkdir -p /var/lib/iHRIS/lib/4.0.2 ln -s /var/lib/iHRIS/lib/4.0.2 /var/lib/iHRIS/lib cd /var/lib/iHRIS/lib/4.0.2 wget http://launchpad.net/ihris-manage/4.0/4.0.2/+download/ihris-manage-full-4_0_2.tar.bz2 tar -xjf /ihris-manage-full-4_0_2.tar.bz2
Now we will need to download the CSSC customizations:
cd /var/lib/iHRIS bzr branch http://bazaar.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 cssc_zonal_deploy cd cssc_zonal_deploy bzr bind http://bazaar.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 cssc_zonal_deploy mkdir -p /var/lib/iHRIS/cssc ln -s /var/lib/iHRIS/cssc_zonal_deploy/modules /var/lib/iHRIS/cssc/4.0
For each of the <SITES>(central,northern,southern,eastern,western,lake) that will exist on the computer you are installing on you will need to do the following:
sudo ln -s /var/lib/iHRIS/cssc_zonal_deploy/sites/<SITE>/pages /var/www/manage-<SITE>
Next you will need to edit the file(s):
/var/www/manage-<SITE>/local/config.value.php
to set the user and password for each of the databases.