Book Image

Clojure Web Development Essentials

By : Ryan Baldwin
Book Image

Clojure Web Development Essentials

By: Ryan Baldwin

Overview of this book

Table of Contents (19 chapters)
Clojure Web Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 11. Environment Configuration and Deployment

So far, we've built a simple but fairly well-rounded application, hipstr, which performs many of the every-day tasks required by web applications. This chapter will focus on a couple different ways one can deploy a Clojure-based web application, as well as how to abstract the environment configurations that will differ from deployment to deployment. In this chapter, we will cover the following topics:

  • environ, a library for reading environment configurations

  • How to pass environment variables to our application outside our development environment

  • How to deploy our application to a few common setups

By the end of this chapter, you'll know the basics of how to abstract the application's environment configuration, and how to get this thing up and running outside the Leiningen Ring Server plugin. We're almost there. Can you taste it?