Changes between Version 77 and Version 78 of ConfigurationGuidelines


Ignore:
Timestamp:
08/29/10 08:46:21 (11 years ago)
Author:
Fran Boon
Comment:

Safety with 000_config.py

Legend:

Unmodified
Added
Removed
Modified
  • ConfigurationGuidelines

    v77 v78  
    3838vim ~/.bashrc
    3939alias w2p='cd ~web2py;python web2py.py -S eden -M'
    40 alias pull="cd ~web2py/applications/eden;sed '/deployment_settings.base.migrate = False/ s/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py >  models/000_config.py.new;mv models/000_config.py.new  models/000_config.py;bzr pull;chown web2py:web2py ~web2py/applications/eden/languages/*;/etc/init.d/apache2 force-reload"
     40alias pull="cd ~web2py/applications/eden;sed '/deployment_settings.base.migrate = False/ s/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py >  models/000_config.py.new;mv models/000_config.py.new  models/000_config.py;bzr pull;chown web2py:web2py ~web2py/applications/eden/languages/*;/etc/init.d/apache2 force-reload;mv ~web2py/applications/eden/models/000_config.py.THIS ~web2py/applications/eden/models/000_config.py"
    4141alias migrateoff="cd ~web2py/applications/eden;sed '/deployment_settings.base.migrate = True/ s/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py >  models/000_config.py.new;mv models/000_config.py.new  models/000_config.py"
    4242}}}