Changes between Version 1 and Version 2 of ReleaseManagement
- Timestamp:
- 01/20/10 21:29:44 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseManagement
v1 v2 32 32 * Sign-off for this to come from the group: ''tbc'' 33 33 * A careful data migration plan is made 34 * Disable system crontab 35 * Website put into Maintenance Mode 36 * Database is backed-up 34 35 * Backup 36 * Disable system crontab 37 * {{{vim /etc/crontab}}} 38 * Website put into Maintenance Mode 39 * {{{cd /home/haiti ; ./maintenance.on}}} 40 * {{{cd /home/haiti/web2py ; python web2py.py -S prod -M -N}}} 41 {{{ 42 db.export_to_csv_file(open('db.csv','wb')) 43 Ctrl+D 44 }}} 37 45 38 46 * DataMigration 47 * {{{models/00_db.py}}} 48 * {{{migrate = True}}} 49 * {{{cd /home/haiti/web2py ; python web2py.py -S prod -M -N}}} 50 {{{ 51 Ctrl+D 52 }}} 53 54 * Restore Service 55 * Re-enable Website 56 * {{{cd /home/haiti ; ./maintenance.off}}} 57 * Re-enable system crontab 58 * {{{vim /etc/crontab}}} 59 39 60 * BluePrintSynchronisation 40 61 … … 43 64 * haiti.sahanapy.org VM: 212.23.5.4 44 65 * /home/haiti/web2py/applications/prod 66 * /etc/apache2/sites-enabled/prod 67 * Sqlite 45 68 * Web2Py r1544 46 69 * Sahana Haiti r547 47 * Sqlite48 70 * Customisations: 71 * models/00_db.py 72 * migrate = False 49 73 * models/00_settings.py 50 74 * auth.settings.registration_requires_verification = True … … 53 77 * logistics.sahanapy.org VM: 212.23.5.5 54 78 * /home/haiti-test/web2py/applications/test 79 * /etc/apache2/sites-enabled/haiti-test 80 * MySQL ''hopefully'' 55 81 * Web2Py r1544 56 82 * Sahana Haiti r547 57 * MySQL ''hopefully''58 83 * Customisations: 59 84 * models/00_db.py 85 * migrate = False 60 86 * db = DAL('mysql://haititest:password@localhost/haititest', pool_size=10) 61 87 * models/00_settings.py … … 66 92 * logistics.sahanapy.org VM: 212.23.5.5 67 93 * /home/haiti-dev/web2py/applications/dev 94 * /etc/apache2/sites-enabled/haiti-dev 95 * [MySQL] ''hopefully'' 68 96 * Web2Py r1544 69 97 * Sahana Haiti r547 70 * [MySQL] ''hopefully''71 98 * Customisations: 72 99 * models/00_db.py