0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
penpot/backend/uxbox/main.clj

17 lines
363 B
Clojure
Raw Normal View History

2015-06-18 12:35:50 -05:00
(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)))