Skip to content
shawnzam edited this page Apr 23, 2014 · 7 revisions

Welcome to the openshift_web2py wiki!

Upgrade to latest version

After git pull -s recursive -X theirs upstream master in the installation step, let's update to lastest web2py.

  1. Remove outdated web2py folder in wsgi/ in the pulled git repo.
  2. Remove outdated gluon folder in libs/
  3. Download latest web2py_src.zip from official website. Extract the zip file.
  4. Copy latest web2py into wsgi/
  5. Move the gluon in wsgi/web2py/ to libs/

Then continue the installation guide with add commit push.

I also had to change line 13 in wsgi/application from

WEB2PY_LOG = os.path.join(os.environ['OPENSHIFT_PYTHON_LOG_DIR'],'web2py.log')

to

WEB2PY_LOG = os.path.join(os.environ['OPENSHIFT_LOG_DIR'],'web2py.log')

Clone this wiki locally