*pls read carefully first or test on another pc first, before execute on server bash* # change to home directory cd
# make folders for appdata mkdir -p ~/appdata/applications mkdir -p ~/appdata/databases mkdir -p ~/appdata/uploads # backup applications mv ~/web2py/applications/* ~/appdata/applications/ rm -rf ~/appdata/applications/admin rm -f ~/appdata/applications/*init* # download rm -f ~/web2py_src.zip wget -c http://web2py.com/examples/static/web2py_src.zip #curl -L -O -C - http://web2py.com/examples/static/web2py_src.zip # remove existing folders rm -rf ~/web2py/applications rm -rf ~/web2py/deposit rm -rf ~/web2py/examples rm -rf ~/web2py/extras rm -rf ~/web2py/gluon rm -rf ~/web2py/handlers rm -rf ~/web2py/logs rm -rf ~/web2py/scripts rm -rf ~/web2py/site-packages # extract unzip ~/web2py_src.zip # remove unnecessary folders rm -rf ~/web2py/applications/examples rm -rf ~/web2py/applications/welcome # remove downloaded package rm -f ~/web2py_src.zip # restore Applications mv ~/appdata/applications/* ~/web2py/applications/ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.