integration-tests
Josha von Gizycki 6 years ago
parent 4b88134f06
commit 9e0d8986a2

@ -32,7 +32,10 @@
[lein-cloverage "1.0.13"] [lein-cloverage "1.0.13"]
[cider/cider-nrepl "LATEST"] [cider/cider-nrepl "LATEST"]
[lein-kibit "LATEST"]]} [lein-kibit "LATEST"]]}
:uberjar {:aot :all}} :uberjar {:aot :all
:main wanijo.main
:dependencies [[ring/ring-jetty-adapter "1.7.1"]
[ring/ring-devel "1.7.1"]]}}
:neo4j {:path "neo4j"} :neo4j {:path "neo4j"}
:repl-options {:init-ns wanijo.framework.repl} :repl-options {:init-ns wanijo.framework.repl}

@ -0,0 +1,9 @@
(ns wanijo.main
(:require [ring.adapter.jetty :refer [run-jetty]]
[wanijo.handler :as wanijo])
(:gen-class))
(defn -main [& args]
(run-jetty wanijo/app
{:port (Integer/valueOf (or (System/getenv "port")
"3080"))}))
Loading…
Cancel
Save