Changes between Version 14 and Version 15 of UserGuidelines/Admin/Upgrade
- Timestamp:
- 06/26/14 07:08:45 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/Admin/Upgrade
v14 v15 2 2 [[TOC]] 3 3 4 == Fabfile == 5 This is normally done using Fab: 4 The basic process is: 5 * Update your local development branch: 6 {{{ 7 git pull upstream master 8 git push 9 }}} 10 * Refresh your Test instance with the current Production data 11 {{{ 12 clean test 13 }}} 14 * Upgrade the Test instance (which also migrates to the new DB schema): 15 {{{ 16 pull test 17 }}} 18 * Resolve any database migration issues that you encounter...documenting these for the script which you use to upgrade Prod 19 * TEST 20 * Enhance your migration script as-required to fix silent database migration issues 21 - some of thesse can be found by reviewing the code changes for the modules which you are using 22 * Repeat until happy 23 * Backup Prod 24 * Repeat upgrade script on Prod 25 26 You may find this useful (especially if you have a smaller database...the process here takes too long for longer databases): 27 * https://github.com/flavour/eden/blob/master/modules/s3migration.py 28 29 == Old == 30 === Fabfile === 31 This can be done using Fab: 6 32 {{{ 7 33 fab <systemname> deploy 8 34 }}} 9 35 10 11 36 * Current Fabfile: http://eden.sahanafoundation.org/browser/static/scripts/tools/fabfile.py 37 * Current Aliases: ConfigurationGuidelines#Usefulaliases 12 38 13 See: 14 * PakistanDeploymentCycle 15 == Old == 16 '''Note: As of January 2012, BZR/Launchpad info for eden is deprecated. Please visit the [wiki:DeveloperGuidelines/Git GitHub] page. Thanks.'''[[BR]] 17 39 === Older === 18 40 Put site into Maintenance: 19 41 {{{ … … 59 81 }}} 60 82 61 * MaintenanceGuidelines 62 * UserGuidelines/Admin/DataMigration 63 64 ---- 65 66 BluePrintUpgrades 67 UserGuidelines/Admin 83 == See Also == 84 * MaintenanceGuidelines 85 * UserGuidelines/Admin/DataMigration 86 * BluePrintUpgrades 87 * PakistanDeploymentCycle