Skip to content

Commit

Permalink
Added docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryugi committed Jun 5, 2017
1 parent 10b9a31 commit 00115ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clj/timi/server/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@
(:gen-class))

(defn get-system
"It is often useful for other parts of the application to be able to obtain a
system data structure (e.g., running a dev system or bringing up the
components needed for a CLI), so this function is provided as a universal
means of doing so."
([]
(get-system #'web/app))
([app]
(components/init app)))

(defn -main
"The Tímı application's entry point."
[& args]
;; Set up default logging here because the system hasn't had a chance to
;; it yet; once the configuration is available, the logger will re-configure.
Expand Down

0 comments on commit 00115ac

Please sign in to comment.