Closed andrewberls closed 9 years ago
:+1: Nice! though how does a user use the default-config? Don't they need to be able to spit it out into a file somehow?
? No
(require '[overseer.api :as overseer])
(overseer/start {:config overseer/default-config ...})
I could sugar this up with like overseer.api/default-system
since technically a system includes a :conn
to the specified DB, but thats the idea
Ah. the -main
threw me off
This removes default config from being added by the system, and instead moves it to the api namespace to give the option to the user.