Changes between Version 17 and Version 18 of ReleaseManagement


Ignore:
Timestamp:
01/23/10 22:34:27 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseManagement

    v17 v18  
    3636
    3737 * 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{{{
     40vim /etc/crontab
     41#0-59/1 * * * * www-data cd /home/haiti/web2py/ && python web2py.py -C -D 1 >> /tmp/cron.output 2>&1
     42vim /home/haiti/prod/models/00_db.py
     43 migrate=True
     44rm /etc/apache2/sites-enabled/prod-ssl
     45/etc/init.d/apache2 force-reload
     46/home/haiti/update-prod
     47/home/haiti/shell-prod
    4448db.export_to_csv_file(open('db.csv','wb'))
    4549Ctrl+D
     
    4751
    4852 * DataMigration
    49   * {{{models/00_db.py}}}
    50    * {{{migrate = True}}}
    5153  * {{{cd /home/haiti/web2py ; python web2py.py -S prod -M -N}}}
    5254{{{
     
    5456}}}
    5557
    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{{{
     60ln -s /etc/apache2/sites-available/prod-ssl /etc/apache2/sites-enabled
     61/etc/init.d/apache2 force-reload
     62vim /home/haiti/prod/models/00_db.py
     63 migrate=False
     64vim /etc/crontab
     650-59/1 * * * * www-data cd /home/haiti/web2py/ && python web2py.py -C -D 1 >> /tmp/cron.output 2>&1
     66
     67}}}
    6168
    6269 * BluePrintSynchronisation