| 1 | [wiki:Haiti] |
| 2 | ---- |
| 3 | == Release Management == |
| 4 | We have 3 running instances: |
| 5 | * Production: http://haiti.sahanafoundation.org |
| 6 | * Dev/UAT: http://haiti-orgsdev.sahanafoundation.org |
| 7 | * ~~UAT: http://haiti-test.sahanafoundation.org~~ !ToDo |
| 8 | * ~~Development: http://haiti-dev.sahanafoundation.org~~ !ToDo |
| 9 | |
| 10 | We have several Code branches: |
| 11 | * Haiti Portal: https://launchpad.net/sahana/haiti-quake-2010 |
| 12 | * Haiti Offline: ''tbc'' |
| 13 | * Trunk: https://launchpad.net/sahana/sahanapy |
| 14 | * OR: https://code.launchpad.net/~michael-howden/sahana/haiti-quake-2010 ''to change to being trunk-derived?'' |
| 15 | * RMS: https://code.launchpad.net/~uwthw/sahana/rms |
| 16 | * VITA: https://code.launchpad.net/~nursix.org/sahana/vita |
| 17 | |
| 18 | === Release Process === |
| 19 | Overall responsible Person: Fran |
| 20 | |
| 21 | 1. Where generic, new code is merged 1st into Trunk by Fran |
| 22 | 2. Code is then merged into the Haiti branch by Fran |
| 23 | * RMS is currently Haiti-specific so is merged directly to Haiti branch |
| 24 | 3. Code is pulled from the Haiti branch to Dev by lifeeth |
| 25 | * Data is 1st synced from Prod |
| 26 | * A 1st draft of a data migration plan is made |
| 27 | 4. Code is pulled from the Haiti branch to UAT by lifeeth |
| 28 | * Testers to be informed before this via the group: ''tbc'' |
| 29 | * Data is 1st synced from Prod |
| 30 | * A more detailed data migration plan is made |
| 31 | 5. Code is pulled from the Haiti branch to Prod by Fran |
| 32 | * Sign-off for this to come from the group: ''tbc'' |
| 33 | * A careful data migration plan is made |
| 34 | * Disable system crontab |
| 35 | * Website put into Maintenance Mode |
| 36 | * Database is backed-up |
| 37 | |
| 38 | * DataMigration |
| 39 | * BluePrintSynchronisation |
| 40 | |
| 41 | === Technical Details === |
| 42 | ==== Production ==== |
| 43 | * haiti.sahanapy.org VM: 212.23.5.4 |
| 44 | * /home/haiti/web2py/applications/prod |
| 45 | * Web2Py r1544 |
| 46 | * Sahana Haiti r547 |
| 47 | * Sqlite |
| 48 | * Customisations: |
| 49 | * models/00_settings.py |
| 50 | * auth.settings.registration_requires_verification = True |
| 51 | * auth.settings.registration_requires_approval = True |
| 52 | ==== UAT ==== |
| 53 | * logistics.sahanapy.org VM: 212.23.5.5 |
| 54 | * /home/haiti-test/web2py/applications/test |
| 55 | * Web2Py r1544 |
| 56 | * Sahana Haiti r547 |
| 57 | * MySQL ''hopefully'' |
| 58 | * Customisations: |
| 59 | * models/00_db.py |
| 60 | * db = DAL('mysql://haititest:password@localhost/haititest', pool_size=10) |
| 61 | * models/00_settings.py |
| 62 | * S3_PUBLIC_URL = 'http://haiti-test.sahanafoundation.org' |
| 63 | * auth.settings.registration_requires_verification = True |
| 64 | * auth.settings.registration_requires_approval = True |
| 65 | ==== Dev ==== |
| 66 | * logistics.sahanapy.org VM: 212.23.5.5 |
| 67 | * /home/haiti-dev/web2py/applications/dev |
| 68 | * Web2Py r1544 |
| 69 | * Sahana Haiti r547 |
| 70 | * [MySQL] ''hopefully'' |
| 71 | * Customisations: |
| 72 | * models/00_db.py |
| 73 | * db = DAL('mysql://haitidev:password@localhost/haitidev', pool_size=10) |
| 74 | * models/00_settings.py |
| 75 | * S3_PUBLIC_URL = 'http://haiti-dev.sahanafoundation.org' |
| 76 | * auth.settings.registration_requires_verification = True |
| 77 | * auth.settings.registration_requires_approval = True |
| 78 | ---- |
| 79 | [wiki:Haiti] |