summaryrefslogtreecommitdiff
path: root/src/app/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/core.clj')
-rw-r--r--src/app/core.clj8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/core.clj b/src/app/core.clj
new file mode 100644
index 0000000..42ad0d1
--- /dev/null
+++ b/src/app/core.clj
@@ -0,0 +1,8 @@
+(ns app.core
+ (:gen-class)
+ (:require [app.handler :refer [app]]
+ [ring.adapter.jetty :refer [run-jetty]]))
+
+(defn -main
+ [& args]
+ (run-jetty app {:port 80}))