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/.
|
|
|
|
;;
|
2019-06-05 08:26:05 +00:00
|
|
|
;; Copyright (c) 2016-2019 Andrey Antukh <niwi@niwi.nz>
|
2016-11-20 20:04:52 +01:00
|
|
|
|
|
|
|
(ns uxbox.main
|
2019-06-05 08:26:05 +00:00
|
|
|
(:require [mount.core :as mount]
|
2016-11-20 20:04:52 +01:00
|
|
|
[uxbox.config :as cfg]
|
|
|
|
[uxbox.migrations]
|
|
|
|
[uxbox.db]
|
2019-06-16 01:57:27 +02:00
|
|
|
[uxbox.http]
|
2019-11-18 11:52:57 +01:00
|
|
|
#_[uxbox.scheduled-jobs])
|
2016-11-20 20:04:52 +01:00
|
|
|
(:gen-class))
|
|
|
|
|
|
|
|
;; --- Entry point (only for uberjar)
|
|
|
|
|
|
|
|
(defn -main
|
|
|
|
[& args]
|
2019-11-18 11:52:57 +01:00
|
|
|
(mount/start))
|