On Sunday, January 6, 2019 at 12:45:27 PM UTC-8, Vlad wrote: > > Oh, I didn't express myself precisely: I am asking about Github - I am > setting up a Github repository and wondering what exactly from the app > directory should go in there - without extra files and without missing > files - to preserve complete app/set > > You don't want the sessions or errors folders (they'll get recreated by web2py if missing, and should be cleaned out from time to time anyway). You may choose to also skip the databases folder, as the table files are recreated from the models. IIRC, you're using an external database server rather than sqlite3, so you have other ways of backing up the data (I wouldn't backup sqlite3 to github, either). If you have uploads, you should probably back them up separately, as well.
You should have all .py files, from your myapp toplevel as well as controllers, models, modules, and scripts, and then your files from static and views, and languages if you've updated that. Sanitize private/appconfig.ini and save is as private/sample-appconfig.ini (keep an indication of how to reach your db). /dps > On Sun, Jan 6, 2019 at 2:51 PM 黄祥 <[email protected] <javascript:>> > wrote: > >> for pack or unpack thing it's use tar >> ref: >> https://groups.google.com/d/msg/web2py/khiGuJYxHpo/clEEU7n3VGEJ >> >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/d/optout.

