mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
16 lines
363 B
Clojure
16 lines
363 B
Clojure
(ns uxbox.main
|
|
(:require [com.stuartsierra.component :as component]
|
|
[environ.core :refer [env]]
|
|
[uxbox.router]
|
|
[uxbox.config])
|
|
(:gen-class))
|
|
|
|
(defn system
|
|
[]
|
|
(component/system-map
|
|
:config (uxbox.config/component (:config env))
|
|
:web (uxbox.router/component)))
|
|
|
|
(defn -main
|
|
[& args]
|
|
(component/start (system)))
|