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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.