To be a bit more specific I would like to create am env var - $DATABASE_URI, which will hold my connection string for the database, and to import it to production.ini. I was able to do that with "gearbox serve" command - "gearbox serve dburi=$DATABASE_URI -c production.ini" and using "get" in the ini file, as mentioned above. (Thanks)
I would also like to be able to run "gearbox migrate -c production.ini" on my server, but I think (or haven’t found a way yet) for gearbox migrate command to take a command line argument. and my migrate command needs the DB connection string Is there a way to use my env var $DATABASE_URI with gearbox migrate command and my production.ini? Thanks On Monday, January 9, 2017 at 1:51:26 PM UTC+2, [email protected] wrote: > > Thanks for the help, I also wanted to ask for gearbox migrate - > How can I use env varilables with "gearbox migrate"? > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

