aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-03-27 19:42:24 +0000
committers-ol <s-ol@users.noreply.github.com>2019-03-27 19:54:05 +0000
commit2ca1b0cf819604a617f875cb7a398a48cd55ea54 (patch)
tree9f006db63e16538dfef799fd75dd3bf3b9c8f6ee /src
parentinitial commit (diff)
downloadredirectly-2ca1b0cf819604a617f875cb7a398a48cd55ea54.tar.gz
redirectly-2ca1b0cf819604a617f875cb7a398a48cd55ea54.zip
deployability
Diffstat (limited to 'src')
-rw-r--r--src/redirectly/deploy.clj7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/redirectly/deploy.clj b/src/redirectly/deploy.clj
new file mode 100644
index 0000000..48fe0a7
--- /dev/null
+++ b/src/redirectly/deploy.clj
@@ -0,0 +1,7 @@
+(ns redirectly.deploy
+ (:gen-class)
+ (:require [ring.adapter.jetty :refer [run-jetty]]
+ [redirectly.core :refer [handler]]))
+
+(defn -main [& args]
+ (run-jetty handler {:port 3000}))