component

seancorfield 2016-11-19T03:06:42.000258Z

Good point. If the external configuration can affect the structure of the system, you'd want to read it in first. For us, configuration is a component and it reads env vars and files when you start it.

seancorfield 2016-11-19T03:08:11.000259Z

We also have an env var driven repl server component we use for debugging. Just add it to the system as a dependency and if an env var is set it starts either a socket repl or a full CIDER-enabled nrepl server.

seancorfield 2016-11-19T03:08:39.000260Z

(Available on Clojars - a World Singles open source project)