Fabfile with support for sqlalchemy-migrate deployments?
Posted
by Chris Reid
on Stack Overflow
See other posts from Stack Overflow
or by Chris Reid
Published on 2010-05-06T02:12:25Z
Indexed on
2010/05/06
2:18 UTC
Read the original article
Hit count: 346
I have database migrations (with sqlalchemy-migrate) working well in my dev environment. However, I'm a little stumped about how to integrate this into my deployment process.
I'm using fabric for deployment but having some trouble scripting the migrations part. The path to the to migrations directory in site-packages is dynamic (due to changing egg version number) and I'd rather not hard code my db password into the fabfile.
Does anyone have a fabfile that plays nicely with sqlalchemy-migrate?
© Stack Overflow or respective owner