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