1 | #!/bin/sh
|
---|
2 | cd ~web2py/applications/eden
|
---|
3 | sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py
|
---|
4 | bzr pull
|
---|
5 | rm -rf compiled
|
---|
6 | cd ~web2py
|
---|
7 | sudo -H -u web2py python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py
|
---|
8 | cd ~web2py/applications/eden
|
---|
9 | sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py
|
---|
10 | cd ~web2py
|
---|
11 | sudo -H -u web2py python web2py.py -S eden -R applications/eden/static/scripts/tools/compile.py
|
---|
12 | /etc/init.d/apache2 force-reload
|
---|
13 |
|
---|