Forums

Automated Deployment

I have been working through Mr. Percival's excellent book and have reached chapter 8 where he talks about automated deployment. Is there a way to perform automated deployments to PythonAnywhere?

Mr Percival says: You can, but it's quite different from what's explained in the book. Check out this blog post on git push deployments.

You can also use fabric, and pick up the trick from the blog post for restarting your web app (touch /var/www/your_wsg_file.py).

Fantastic. That works perfectly. Thank you so much Mr. Percival.