Ofcourse, it copy models files. But also! it copy databases folder with *.table files + sql.log. So if I try to install from this w2p packet to another vps, I can't create database structure because of *.table files.
On 2 апр, 06:41, Joe Barnhart <[email protected]> wrote: > It does not copy the DATA from your database. But the STRUCTURE is > defined by the Python files in the "models" area. Your new > application should create a new instance of the database with all > tables initially empty. > > If you want to copy your table data, you can export the database to a > CSV file and import it to another machine. There is a description of > it in the online book: > > http://web2py.com/book/default/chapter/06#CSV-%28all-tables-at-once%29 > > -- Joe B. > > On Apr 1, 9:57 am, LightOfMooN <[email protected]> wrote: > > > > > > > > > I created some app. Then packed it with "pack all" to install on VPS > > for deploy. > > When I install it, I have seen, that it didn't make postgres database > > structure, because of files in myapplication/database. > > Also all upload folder was packed. > > > So, the question is: > > for what purpose "pack all" pack in w2p packet database and upload > > folder? > > > I thought, this button is just for create an clear app packet, but I > > was wrong.

