At the moment I have a disconnected Deployment process. Where the site I’m looking at locally does not reflect what is on live.
So let’s make a note of some techniques that could improve my flow.
A staging site - although my hosting package doesn’t support having a staging area but I could use another PythonAnywhere free account as a staging area.
Using Fabric to automate deployment.
Some reading material on this.
http://www.jeffknupp.com/blog/2013/12/18/starting-a-django-16-project-the-right-way/
https://www.pythonanywhere.com/forums/topic/1067/
The information in the blog above that I’m interested in is.
- Automated deployment and testing (using Fabric)
- Automatic database migrations (using South)
Also I found this youtube video on deploying on PythonAnywhere which looks pretty good.
https://www.youtube.com/watch?v=Y4c4ickks2A - this is good for deployment but doesn’t have anything on automated future deployment.
Use cloud flare for the domain and point the name record
No comments:
Post a Comment