News for hackers. Stuff that matters.
Re:Django Production Deployment and Development Using Git by joelhaasnoot on Monday February 06, 2012 @04:17AM (#3556761)
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.
Re:Django Production Deployment and Development Using Git by andrus on Monday February 06, 2012 @11:45AM (#3558026)
How does Fabric compare to setting up a git hook on post-merge to run collectstatic, etc.?
Re:Django Production Deployment and Development Using Git by joelhaasnoot on Monday February 06, 2012 @04:46PM (#3559330)
Not 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 A bunch of simple functions, some wrappers for directories and the environment, and an order of operations