| 1 | = Upgrading = |
| 2 | [wiki:UserGuide Back to User Guide Index] [[BR]] |
| 3 | |
| 4 | == Upgrades *must* be tested against a *backup* of your live database! == |
| 5 | * A test environment with a standalone server and a test database is highly recommended. [[BR]] |
| 6 | |
| 7 | '''Upgrading the web application side:''' |
| 8 | * Download a released war file or build a custom version. [[BR]] |
| 9 | * Stop the running servlet (e.g. Tomcat). [[BR]] |
| 10 | * Move the old war file and deployed folder to a backup location. [[BR]] |
| 11 | * Place the new war file in the webapps directory and start the servlet. [[BR]] |
| 12 | |
| 13 | '''Upgrading the database side:''' |
| 14 | * Where there are no changes to the schema (domain class folder) between versions nothing further needs to be done. [[BR]] |
| 15 | * Officially released versions (1.0.0, 1.1.2 etc) will have upgrade scripts released either here or with the software. [[BR]] |
| 16 | * Upgrade scripts will be sequential (to upgrade from 1.0.0 to 1.0.2 may have two sets of scripts that must be executed in order). [[BR]] |