0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

Minor change on backend initialization.

This commit is contained in:
Andrey Antukh 2020-08-18 18:46:39 +02:00
parent 7dd9e8763b
commit 9d8282e1be
2 changed files with 15 additions and 4 deletions

View file

@ -74,6 +74,11 @@
mockery/mockery {:mvn/version "0.1.4"}}
:extra-paths ["tests"]}
{:fn-run
{:fn app.main/run
:args {}}
:fn-media-loader
{:fn uxbox.cli.media-loader/run
:args {}}

View file

@ -24,11 +24,17 @@
;; --- Entry point
(defn -main
[& args]
(defn run
[params]
(require 'uxbox.config
'uxbox.migrations
'uxbox.worker
'uxbox.media
'uxbox.http
'uxbox.tasks)
'uxbox.http)
(mount/start))
(defn -main
[& args]
(run {}))