missing files.

This commit is contained in:
Bryce Covert
2020-12-08 22:00:35 -08:00
parent 689cae6192
commit df601aed22
5 changed files with 163 additions and 10 deletions

View File

@@ -28,7 +28,7 @@
(mount/stop))
(defn -main [& args]
(let [without (cond-> #{}
(let [without (cond-> []
(not (env :run-web? )) (into [#'jetty])
(not (env :run-background?)) (into [#'square/square-loader
#'square/square-settlement-loader
@@ -37,7 +37,8 @@
#'ledger/ledger-reconciliation-worker
#'yodlee/import-transaction-worker
#'migrate/migrate-start]))]
(log/info "starting without " without)
(add-shutdown-hook! shutdown-mount)
(start-server :port 9000 :bind "0.0.0.0" #_#_:handler (cider-nrepl-handler))
(mount/start-without without)))
(apply mount/start-without without)))