Preface
Why I Wrote This Book
When I was writing my first web application, using Django, the popular Python-based framework, I remember the sense of accomplishment when the app was finally working on my desktop. I would run django manage.py runserver, point my browser to http://localhost:8000, and there was my web application in all its glory.
Then I discovered there were all of these…things I had to do, just to get
the darned app to run on the Linux server. In addition to installing Django and
my app onto the server, I had to install Apache and the mod_python module so
that Apache could run Django apps. Then I had to figure out the right Apache
configuration file incantation so that it would run my application and serve up
the static assets properly.
None of it was hard, it was just a pain to get all of those details right. I didn’t want to muck about with configuration files, I just wanted my app to run. Once I got it working, everything was fine…until, several months later, I had to do it again, on a different server, at which point I had to start the process all over again.
Eventually, I discovered that this process was Doing It Wrong. The right way to do this sort of thing has a name, and that name is configuration management. The great thing about using configuration management is that it’s a way to capture knowledge that always stays up-to-date. No more hunting for the right doc page or searching through your old notes.
Recently, a colleague at work was interested in trying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access