ConfigurationGuidelines: migrate

File migrate, 449 bytes (added by Fran Boon, 10 years ago)
Line 
1#!/bin/sh
2sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' ~web2py/applications/eden/models/000_config.py
3rm -rf ~web2py/applications/eden/compiled
4cd ~web2py
5sudo -H -u web2py python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py
6sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' ~web2py/applications/eden/models/000_config.py
7compile