Using Alternate Sites in Windows iHRIS: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
Version 3.1 of Offline iHRIS installs the default sites, but there is a command line argument that lets you specify an alternate directory to use for your site. This was added so that a country can reuse the installer and just specify an alternate site for whatever component they
Version 3.1 of Offline iHRIS installs the default sites, but there is a command line argument that lets you specify an alternate directory to use for your site. This was added so that a country can reuse the installer and just specify an alternate site for whatever component they want. The idea is that the administator at a central office will specify their site with all of its customizations. Then they can just distribute to district offices a CD or a USB key with our installer and their site and a windows batch file to run the installer with the appropriate command line option, e.g:
want. The idea is that the administator at a central office will specify their site with all of its customizations. Then they can just distribute to district offices a CD or a USB key with our installer and their site and a windows batch file to run the installer with the appropriate command line option, e.g:


       OffLineIhris /components=ihrismanage /ihris-manage-site="manage-site" /mysqlpass="something"  /apacheport=8081 /mysqlport=8082 /Silent
       OfflineIHRIS-3.1.2 /components=ihrismanage /manageSITE=C:\manage_site /mysqlpass=something /silent


which will silently install the Offline iHRIS suite to "C:\Program Files\ihris-suite" and copy the contents of "C:\manage_site" to "C:\Program Files\ihris-suite\sites\manage".


Note that since they are allowed to get as complicated as they want with their site, the site can then load whatever data they need, e.g., all the positions, facilities, district information, etc.
Since you are allowed to get as complicated as they want with your site module, the site can then load whatever data you need, e.g., all the positions, facilities, district information, etc.  However, your site must be ''compatible'' with the standard wamp installation.

Revision as of 11:09, 6 November 2008

Version 3.1 of Offline iHRIS installs the default sites, but there is a command line argument that lets you specify an alternate directory to use for your site. This was added so that a country can reuse the installer and just specify an alternate site for whatever component they want. The idea is that the administator at a central office will specify their site with all of its customizations. Then they can just distribute to district offices a CD or a USB key with our installer and their site and a windows batch file to run the installer with the appropriate command line option, e.g:

      OfflineIHRIS-3.1.2 /components=ihrismanage /manageSITE=C:\manage_site /mysqlpass=something /silent

which will silently install the Offline iHRIS suite to "C:\Program Files\ihris-suite" and copy the contents of "C:\manage_site" to "C:\Program Files\ihris-suite\sites\manage".

Since you are allowed to get as complicated as they want with your site module, the site can then load whatever data you need, e.g., all the positions, facilities, district information, etc. However, your site must be compatible with the standard wamp installation.