framed-data / overseer

Overseer is a library for building and running data pipelines in Clojure.
Eclipse Public License 1.0
97 stars 10 forks source link

Remove default config #6

Closed andrewberls closed 9 years ago

andrewberls commented 9 years ago

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.

elliot42 commented 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?

andrewberls commented 9 years ago

? No

(require '[overseer.api :as overseer])
(overseer/start {:config overseer/default-config ...})
andrewberls commented 9 years ago

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

elliot42 commented 9 years ago

Ah. the -main threw me off