On Sun, Apr 26, 2009 at 6:49 PM, robneville73 <[email protected]> wrote: > > ahhh, so in other words I could do: > > paster serve myconfig.ini sqlalchemy.url=$MYURL > > given $MYURL was set to a valid sqlalchemy string?
Yeah, sure :) > > On Apr 26, 8:53 am, Sanjiv Singh <[email protected]> wrote: >> Hi, >> >> Not sure where environment variables are supported but paste can take >> all vars from command line. So something like this should work >> >> $ paster serve --daemon myconfig.ini >> sqlalchemy.url='sqlite:///my/location/dbfile.db' >> >> Sanjiv >> >> On Sun, Apr 26, 2009 at 5:13 AM, robneville73 <[email protected]> >> wrote: >> >> > quick question... >> >> > so in development.ini there's this %(here)s business that replaces >> > that with the current directory. How does this work? What I'm trying >> > to accomplish is to have things like the sqlalchemy url be read from >> > an environment variable as opposed to hard coded in the ini file. >> >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

