Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BuhtigithuB/7d2f50203145542e0bdedb731be8a152 to your computer and use it in GitHub Desktop.
Save BuhtigithuB/7d2f50203145542e0bdedb731be8a152 to your computer and use it in GitHub Desktop.
Update web2py specific files inside your app
# When you upgrade web2py your should update app files that are important to web2py for properly functioning
#
# views/
# appadmin.html
# generic.ics
# generic.load
# generic.rss
# layout.html
# generic.json
# generic.map
# generic.xml
# web2py_ajax.html
# generic.html
# generic.jsonp
# generic.pdf
#
# controller/
# appadmin.py
#
# static/
# css/*
# images/*
# js/*
#
# You can do it with the following bash commands :
# NOTE: Please make a backup of your app before to make sure you don't break anything
#
# From web2py/applications/
cp -R welcome/static/* YOURAPP/static/
cp welcome/controllers/appadmin.py YOURAPP/controllers/
cp -R welcome/views/* YOURAPP/views/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment