On Mon, Apr 14, 2008 at 5:05 PM, platten <[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
>  I am working on a production deployment of turbogears which does not
>  have the .egg-info directory and was wondering if there is a quick way
>  of creating the initial sqlite database without the tg-admin sql
>  create command? I heard it can be done someway with sqlobject-admin,
>  but I have not figured out how to use it with my prod.cfg file.

Using tg-admin you can setup your prod database easily:

tg-admin sql create -e yourappmodulename -c /full/path/to/yourprod.cfg

keep in mind that yourappmodulename must be the name of the module
(like in "from yourappmodulename import model") , not the name of the
application itself.

Florent Aide.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to