Did it with a bit of turnarounds, but it's pretty solid.
Check out
https://github.com/niphlod/w2p_tvseries/blob/master/private/w2p_tvseries_installer.py
a tiddle bit of tl/dr:
- somewhere on the internet there's an updated version of the app. in my
case, a tagged github zipball
- somewhere on the internet there's a "version" file that can be fetched
and compared to the local one to initiate the upgrade process (in my case,
a file stored on github)
- there is an upgrade process defined . in my case, a bit of turnarounds
but you can safely assume the following:
- compare versions
- download new archive
- backup current app
- overwrite with new archive
- initialize what needs to be initialized
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.