Installing the CSSC zonal deployment: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The customizations for the zonal deployment of iHRIS Manage for the CSSC can be found on launchpad at: | 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 | https://code.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 | ||
Line 7: | Line 6: | ||
also for the central office. | also for the central office. | ||
'''WARNING:''' Do not try these instructions until you have provided the following lists: | '''WARNING:''' Do not try these instructions until you have provided the following lists are: | ||
pos_change_reason | pos_change_reason | ||
language | language | ||
Line 14: | Line 13: | ||
edu_type | edu_type | ||
employee_status | employee_status | ||
These lists need to have data module associated with. In particular 'pos_change_reason' needs to be set | |||
before you will be able to change an employee's position at the zonal office. Once you provide these | |||
lists I can help you get them setup as a data module. To see how you should provide these lists, copy | |||
the file format of: | |||
http://bazaar.launchpad.net/~ihris%2Bcssc/ihris-manage/data-import-4.0/annotate/head%3A/import_tools/standard_data/employer.csv | |||
Line 47: | Line 51: | ||
Now we will need to download the CSSC customizations: | Now we will need to download the CSSC customizations: | ||
cd /var/lib/iHRIS | cd /var/lib/iHRIS | ||
bzr | bzr checkout http://bazaar.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 cssc_zonal_deploy | ||
cd cssc_zonal_deploy | cd cssc_zonal_deploy | ||
bzr bind http://bazaar.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 cssc_zonal_deploy | bzr bind http://bazaar.launchpad.net/~ihris+cssc/ihris-manage/data-import-4.0 cssc_zonal_deploy | ||
Line 59: | Line 63: | ||
/var/www/manage-'''<SITE>'''/local/config.value.php | /var/www/manage-'''<SITE>'''/local/config.value.php | ||
to set the user and password for each of the databases. | to set the user and password for each of the databases. | ||
Now you should be good to go to install the site. | |||
==Importing Data== | |||
We will do this once the standard data lists mentioned above are defined |
Revision as of 07:35, 30 January 2010
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 are:
pos_change_reason language language_proficiency degree edu_type employee_status
These lists need to have data module associated with. In particular 'pos_change_reason' needs to be set before you will be able to change an employee's position at the zonal office. Once you provide these lists I can help you get them setup as a data module. To see how you should provide these lists, copy the file format of:
http://bazaar.launchpad.net/~ihris%2Bcssc/ihris-manage/data-import-4.0/annotate/head%3A/import_tools/standard_data/employer.csv
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 checkout 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.
Now you should be good to go to install the site.
Importing Data
We will do this once the standard data lists mentioned above are defined