Lukasz Szybalski schrieb:
> Hello,
> After creating my turbogears app I need to move it to the production
> server. Is there a way to create a database using the transported egg?
> 
> Normally you would go into project directory and do tg-admin sql
> create. But since I have egg file on production server and production
> server db only accepts connections from localhost, is there a way to
> issue that command on production server? If so from which folder?

When faced with the same problem, I finally created a SSH-tunnel, and 
configured my local dev.cfg to point to that.

Altenatively, you can make locally

tg-admin sql sql

and then use that on the live-machine to create the DB.

Diez

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