2016-11-20 20:04:52 +01:00
|
|
|
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
;;
|
2020-01-13 23:52:31 +01:00
|
|
|
;; This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
|
|
;; defined by the Mozilla Public License, v. 2.0.
|
|
|
|
;;
|
|
|
|
;; Copyright (c) 2016-2020 Andrey Antukh <niwi@niwi.nz>
|
2016-11-20 20:04:52 +01:00
|
|
|
|
|
|
|
(ns uxbox.main
|
2020-01-23 17:53:26 +01:00
|
|
|
(:require
|
|
|
|
[mount.core :as mount]
|
|
|
|
[uxbox.config :as cfg]
|
|
|
|
[uxbox.migrations]
|
|
|
|
[uxbox.db]
|
|
|
|
[uxbox.http]
|
|
|
|
#_[uxbox.scheduled-jobs])
|
2016-11-20 20:04:52 +01:00
|
|
|
(:gen-class))
|
|
|
|
|
2020-01-23 17:53:26 +01:00
|
|
|
;; --- Entry point
|
2016-11-20 20:04:52 +01:00
|
|
|
|
|
|
|
(defn -main
|
|
|
|
[& args]
|
2019-11-18 11:52:57 +01:00
|
|
|
(mount/start))
|