Changes between Version 17 and Version 18 of ReleaseManagement
- Timestamp:
- 01/23/10 22:34:27 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseManagement
v17 v18 36 36 37 37 * Backup 38 * Disable system crontab 39 * {{{vim /etc/crontab}}} 40 * Website put into Maintenance Mode 41 * {{{cd /home/haiti ; ./maintenance.on}}} 42 * {{{cd /home/haiti/web2py ; python web2py.py -S prod -M -N}}} 43 {{{ 38 * Disable system crontab & put Website into Maintenance Mode 39 {{{ 40 vim /etc/crontab 41 #0-59/1 * * * * www-data cd /home/haiti/web2py/ && python web2py.py -C -D 1 >> /tmp/cron.output 2>&1 42 vim /home/haiti/prod/models/00_db.py 43 migrate=True 44 rm /etc/apache2/sites-enabled/prod-ssl 45 /etc/init.d/apache2 force-reload 46 /home/haiti/update-prod 47 /home/haiti/shell-prod 44 48 db.export_to_csv_file(open('db.csv','wb')) 45 49 Ctrl+D … … 47 51 48 52 * DataMigration 49 * {{{models/00_db.py}}}50 * {{{migrate = True}}}51 53 * {{{cd /home/haiti/web2py ; python web2py.py -S prod -M -N}}} 52 54 {{{ … … 54 56 }}} 55 57 56 * Restore Service 57 * Re-enable Website 58 * {{{cd /home/haiti ; ./maintenance.off}}} 59 * Re-enable system crontab 60 * {{{vim /etc/crontab}}} 58 * Restore Website & Cron 59 {{{ 60 ln -s /etc/apache2/sites-available/prod-ssl /etc/apache2/sites-enabled 61 /etc/init.d/apache2 force-reload 62 vim /home/haiti/prod/models/00_db.py 63 migrate=False 64 vim /etc/crontab 65 0-59/1 * * * * www-data cd /home/haiti/web2py/ && python web2py.py -C -D 1 >> /tmp/cron.output 2>&1 66 67 }}} 61 68 62 69 * BluePrintSynchronisation