summary history branches tags files
src/tempest_cljs/server.clj
(ns tempest-cljs.server
  (:require [noir.server :as server]))

(server/load-views "src/tempest_cljs/views/")

(defn -main [& m]
  (let [mode (keyword (or (first m) :dev))
        port (Integer. (get (System/getenv) "PORT" "8080"))]
    (server/start port {:mode mode
                        :ns 'tempest-cljs})))