You would normally copy sample-prod.cfg to prod.cfg and modify it as appropriate (add any important settings from dev.cfg such as dburi.
If you use start-app.py to start your TG app it will use dev.cfg by default if it exists. Pass it the config file you want it to use as an argument, eg: $ start-app.py prod.cfg The app/config/app.cfg file will used in either case. It should only contain global application settings that are needed in both development and production modes. Cheers CM On 13 Jun 2007, at 20:23, Lukasz Szybalski wrote: > > Hello, > After installing turbogear application "myapp" with this command: > python setup.py install > I can open python and import myapp. > > It seems there are 3 config files in myapp folder. > dev.cfg which i configured my dbi path in. > app.cfg and sample-prod.cfg > > -Which config file do i use for production version? > -Where do i get prod.cfg (do i just copy sample-prod.cfg)(What do i > need to modify?) > -What does setup.py install does? Which config file will my > production site use? > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

