Chapter 9. Testing Deployment Using a Staging Site
Is all fun and game until you are need of put it in production.
Itâs time to deploy the first version of our site and make it public. They say that if you wait until you feel ready to ship, then youâve waited too long.
Is our site usable? Is it better than nothing? Can we make lists on it? Yes, yes, yes.
No, you canât log in yet. No, you canât mark tasks as completed. But do we really need any of that stuff? Not reallyâand you can never be sure what your users are actually going to do with your site once they get their hands on it. We think our users want to use the site for to-do lists, but maybe they actually want to use it to make âtop 10 best fly-fishing spotsâ lists, for which you donât need any kind of âmark completedâ function. We wonât know until we put it out there.
In this chapter weâre going to go through and actually deploy our site to a real, live web server.
You might be tempted to skip this chapterâthereâs lots of daunting stuff in it, and maybe you think this isnât what you signed up for. But I strongly urge you to give it a go. This is one of the sections of the book Iâm most pleased with, and itâs one that people often write to me saying they were really glad they stuck through it.
If youâve never done a server deployment before, it will demystify a whole world for you, and thereâs nothing like the feeling of seeing your site live on the actual internet. Give ...
Get Test-Driven Development with Python, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.