Trying to streamline a deployment process to webfaction.com for my django application, I have a master (working copy) and a development branch.
currently I'm doing the following:
- Make changes to my development branch in my local dev environment
- When changes are working, test with run local server, then merge with my master branch
- git push so the code is in my remote repo (this has other issues such as passwords, keys etc which I've not quite solved yet) (also i dont believe its possible to scp code to webfaction and I'm not really a fan of any of the FTP services I've used so far)
- SSH into my webfaction server and do a git pull and git merge
- Test to see if everything is still working (it never is)
- Make anychanges required to get everything working again
- commit any changes I've had to do to fix everything then push back to the remote repo
- Go back to my development environment and sync the code up with the production code
- Rinse Repeat for the next feature
obviously I've missed the efficient development train, for the record I've only been working with django for a couple of months as a hobby project.
Can anyone suggest a django deployment process that would be more conducive to sane development?