| 1 | Put site into Maintenance: |
| 2 | {{{ |
| 3 | vim /etc/crontab |
| 4 | # |
| 5 | |
| 6 | vim /etc/apache/sites-available/maintenance |
| 7 | |
| 8 | ln -sf /etc/apache/sites-available/maintenance /etc/apache/sites-enabled/mysite |
| 9 | /etc/init.d/apache2 force-reload |
| 10 | }}} |
| 11 | Upgrade code: |
| 12 | {{{ |
| 13 | cd /path/to/web2py/applications/eden |
| 14 | bzr pull |
| 15 | }}} |
| 16 | Fix Database Issues: |
| 17 | Restore site into production: |
| 18 | {{{ |
| 19 | vim /etc/crontab |
| 20 | # |
| 21 | ln -sf /etc/apache/sites-available/mysite /etc/apache/sites-enabled/mysite |
| 22 | /etc/init.d/apache2 force-reload |
| 23 | }}} |
| 24 | ---- |
| 25 | UserGuidelines |