Changes between Version 3 and Version 4 of InstallationGuidelines/Linux/Server/RedHat


Ignore:
Timestamp:
06/26/12 08:59:39 (9 years ago)
Author:
Fran Boon
Comment:

update to current

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Linux/Server/RedHat

    v3 v4  
    204204#!/bin/sh
    205205cd ~web2py
    206 python26 web2py.py -S eden -R applications/eden/static/scripts/tools/compile.py
     206python26 web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py
    207207service httpd restart
    208208EOF
     
    212212#!/bin/sh
    213213cd ~web2py/applications/eden
    214 sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py
     214sed -i 's/settings.base.migrate = False/settings.base.migrate = True/g' models/000_config.py
    215215git pull
    216216
     
    224224sudo -H -u web2py python26 web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py
    225225cd ~web2py/applications/eden
    226 sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py
    227 
    228 cd ~web2py
    229 python26 web2py.py -S eden -R applications/eden/static/scripts/tools/compile.py
     226sed -i 's/settings.base.migrate = True/settings.base.migrate = False/g' models/000_config.py
     227
     228cd ~web2py
     229python26 web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py
    230230ln -sf /etc/httpd/conf/production.conf /etc/httpd/conf/vhosts.conf
    231231cd ~web2py && sudo -H -u web2py python web2py.py -K eden -Q >/dev/null 2>&1 &
     
    247247rm -f sessions/*
    248248rm -rf uploads/*
    249 sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py
    250 sed -i 's/deployment_settings.base.prepopulate = 0/deployment_settings.base.prepopulate = 1/g' models/000_config.py
     249sed -i 's/settings.base.migrate = False/settings.base.migrate = True/g' models/000_config.py
     250sed -i 's/settings.base.prepopulate = 0/#settings.base.prepopulate = 0/g' models/000_config.py
    251251rm -rf compiled
    252252mysqladmin -f drop sahana
     
    255255sudo -H -u web2py python26 web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py
    256256cd ~web2py/applications/eden
    257 sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py
    258 sed -i 's/deployment_settings.base.prepopulate = 1/deployment_settings.base.prepopulate = 0/g' models/000_config.py
    259 
    260 cd ~web2py
    261 python26 web2py.py -S eden -R applications/eden/static/scripts/tools/compile.py
     257sed -i 's/settings.base.migrate = True/settings.base.migrate = False/g' models/000_config.py
     258sed -i 's/#settings.base.prepopulate = 0/settings.base.prepopulate = 0/g' models/000_config.py
     259
     260cd ~web2py
     261python26 web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py
    262262ln -sf /etc/httpd/conf/production.conf /etc/httpd/conf/vhosts.conf
    263263cd ~web2py && sudo -H -u web2py python web2py.py -K eden -Q >/dev/null 2>&1 &