ConfigurationGuidelines: pull

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