Upgrading From 3.1: Difference between revisions
From IHRIS Wiki
Line 7: | Line 7: | ||
We should back up the database. Go into phpmyadmin, select your database, click on operations, and copy the | We should back up the database. Go into phpmyadmin, select your database, click on operations, and copy the | ||
database to a new name '''[database_name]'''. | database to a new name '''[database_name]'''. | ||
== | ==Creating the New Site== | ||
Copy the existing site directory over to a new directory and update the '''config.values.php''' to: | Copy the existing site directory over to a new directory and update the '''config.values.php''' to: | ||
*set the ''$i2ce_site_database'' to '''[database_name]''', the name of the new database | *set the ''$i2ce_site_database'' to '''[database_name]''', the name of the new database | ||
*set ''$i2ce_site_i2ce_path'' to '''[base_path]/i2ce''', the directory where the new version of I2CE is located | *set ''$i2ce_site_i2ce_path'' to '''[base_path]/i2ce''', the directory where the new version of I2CE is located |
Revision as of 13:11, 2 June 2009
These are directions for upgrading iHRIS Manage from version 3.1 under Ubuntu.
First Steps
Get The Source Code
You can either get the released or the development code. Suppose that [base_path] is the directory which contains i2ce, common, manage etc.
Backup Database
We should back up the database. Go into phpmyadmin, select your database, click on operations, and copy the database to a new name [database_name].
Creating the New Site
Copy the existing site directory over to a new directory and update the config.values.php to:
- set the $i2ce_site_database to [database_name], the name of the new database
- set $i2ce_site_i2ce_path to [base_path]/i2ce, the directory where the new version of I2CE is located