System Configuration

System configuration contains several kinds of settings: system attributes, per-environment information, and dev-only information. The system attributes are flags or other configuration that affects how your application runs, perhaps turning features on and off or allowing you to externalize magic numbers that may need to change some day. Per-environment information changes for each application deployment target—development, quality assurance, or production. And finally, dev-only settings allow developers to fine-tune an environment on their own machines as they work.

Of these settings, only system attributes can be checked into source control. The per-environment settings should be set outside the application in the environment. ...

Get Clojure Applied 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.