by codeinthehole · 13y ago · 0 comments
Where I work, we have a templated Django project that has a fabfile to do this: https://github.com/tangentlabs/tangent-django-boilerplate
If you look in the deploy function (https://github.com/tangentlabs/tangent-django-boilerplate/bl...), you can see the flow is something like:
def deploy():
deploy_codebase()
...
migrate()
...
switch_symlink()