Version 2 (modified by 15 years ago) ( diff ) | ,
---|
(unfinished)
Put site into Maintenance:
vim /etc/crontab # vim /etc/apache/sites-available/maintenance RewriteEngine On RewriteRule ^/(.*) /maintenance.html ln -sf /etc/apache/sites-available/maintenance /etc/apache/sites-enabled/mysite /etc/init.d/apache2 force-reload
Upgrade code:
cd /path/to/web2py/applications/eden bzr pull
Fix Database Issues: tbc
Restore site into production:
vim /etc/crontab # ln -sf /etc/apache/sites-available/mysite /etc/apache/sites-enabled/mysite /etc/init.d/apache2 force-reload
Attachments (1)
-
db_migration_4_gis.sh
(8.8 KB
) - added by 10 years ago.
Script to update the database after the GIS schema changes: https://github.com/flavour/eden/commit/393ee22bd91a9125181c09da25a9463692326f7c
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.