From 40216477f59e8b7bf5c3653121528196d57413d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Diedrich?= Date: Tue, 23 Jun 2020 17:17:10 +0200 Subject: [PATCH] procfile + prod profile (hope this works/heroku pls) --- Procfile | 1 + project.clj | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..833b516 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java $JVM_OPTS -cp target/clojsa-standalone.jar clojure.main -m clojsa.handler/app diff --git a/project.clj b/project.clj index c326c2a..9396708 100644 --- a/project.clj +++ b/project.clj @@ -9,6 +9,8 @@ [hickory "0.7.1"]] :plugins [[lein-ring "0.12.5"]] :ring {:handler clojsa.handler/app} + :uberjar-name "clojsa-standalone.jar" :profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"] - [ring/ring-mock "0.3.2"]]}}) + [ring/ring-mock "0.3.2"]]} + :production {:env {:production true}}})