mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
✨ Minor change on backend initialization.
This commit is contained in:
parent
7dd9e8763b
commit
9d8282e1be
2 changed files with 15 additions and 4 deletions
|
@ -74,6 +74,11 @@
|
||||||
mockery/mockery {:mvn/version "0.1.4"}}
|
mockery/mockery {:mvn/version "0.1.4"}}
|
||||||
:extra-paths ["tests"]}
|
:extra-paths ["tests"]}
|
||||||
|
|
||||||
|
|
||||||
|
{:fn-run
|
||||||
|
{:fn app.main/run
|
||||||
|
:args {}}
|
||||||
|
|
||||||
:fn-media-loader
|
:fn-media-loader
|
||||||
{:fn uxbox.cli.media-loader/run
|
{:fn uxbox.cli.media-loader/run
|
||||||
:args {}}
|
:args {}}
|
||||||
|
|
|
@ -24,11 +24,17 @@
|
||||||
|
|
||||||
;; --- Entry point
|
;; --- Entry point
|
||||||
|
|
||||||
(defn -main
|
(defn run
|
||||||
[& args]
|
[params]
|
||||||
(require 'uxbox.config
|
(require 'uxbox.config
|
||||||
'uxbox.migrations
|
'uxbox.migrations
|
||||||
|
'uxbox.worker
|
||||||
'uxbox.media
|
'uxbox.media
|
||||||
'uxbox.http
|
'uxbox.http)
|
||||||
'uxbox.tasks)
|
|
||||||
(mount/start))
|
(mount/start))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(defn -main
|
||||||
|
[& args]
|
||||||
|
(run {}))
|
||||||
|
|
Loading…
Add table
Reference in a new issue