Hi All,
I'm using Fabric to manage a fairly standard (?) Django deployment. We have
front end web server which handles static media and proxies to a pair of
application servers.
Updating the application is fairly simple but it involves a sequence of steps
across the different servers. For th
Hi Carlton,
What I've done is perhaps not quite your use case as I separate my hosts on a
project basis, but maybe you can make it work for you. I have separated
choosing the host from my other tasks, with something like this:
@roles('A_servers')
def projA():
'''Specifies that subsequent c
I think what Carlton is looking for is a little different, though I do like
your method. I think I have the same needs as Carlton. Likewise, I'm running
a Django project with multiple servers acting in different roles. Fabric's
roles are great to handle that. So I currently have something l
> What I'd love, and I suspect Carlton would as well, is the ability to wrap
> all those up in a single function
>
> def deploy():
> update_django_project()
> update_db()
> update_services()
>
> And thus be able to deploy with one line
>
> $ fab production deploy
This is a kn