On 11/4/05, Aggelos Orfanakos <[EMAIL PROTECTED]> wrote: > > One more thing. I have my app installed in the target machine (.egg) > using prod.cfg. TG assumes that the path to the database (file) exists > (e.g. you have taken care of creating it using tg-admin) or it rather > creates it if it doesn't exist? I had some problems when not creating > the database a priori. I also checked and saw that if I run my app with > prod.cfg without any database file, later, it only contains 1 table of > CatWalk and not any tables of my model.py. So my best guess is that you > _have_ to create it yourself. Am I right?
You're correct that you do have to create the database. Odds are good that your development database and production database are two different things (one would hope), and it's even possible that you might use sqlite in development and something else in production. (SQLite, having database-level locks, is a great database for working single user... not so great in a webapp being used by multiple people.) So, both databases need to be created with tg-admin sql create. Kevin

