0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00
penpot/backend/uxbox/main.clj
2015-12-30 00:18:59 +02:00

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)))