4 ms·
Hmm, have you actually got everything working that way? I've found there's a few too many tasks to do that way, and wrote a Fabric script to deploy. It pulls g
by joelhaasnoot 15y ago
Hmm, have you actually got everything working that way? I've found there's a few too many tasks to do that way, and wrote a Fabric script to deploy. It pulls git, checks for dependencies with a requirements file, compiles translations, runs collectstatic to put static files in the right places, and reloads Apache (and could run tests). Works quite well.
- andrus 15y agoHow does Fabric compare to setting up a git hook on post-merge to run collectstatic, etc.?
- joelhaasnoot 15y agoNot too big a fan of git hooks, but mostly because I haven't played around with them too much. My script is here: https://gist.github.com/1755101 https://gist.github.com/1755101 A bunch of simple functions, some wrappers for directories and the environment, and an order of operations