procfile + prod profile (hope this works/heroku pls)

This commit is contained in:
Rüdiger Diedrich 2020-06-23 17:17:10 +02:00
parent 4e1bcdde94
commit 40216477f5
2 changed files with 4 additions and 1 deletions

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: java $JVM_OPTS -cp target/clojsa-standalone.jar clojure.main -m clojsa.handler/app

View File

@ -9,6 +9,8 @@
[hickory "0.7.1"]] [hickory "0.7.1"]]
:plugins [[lein-ring "0.12.5"]] :plugins [[lein-ring "0.12.5"]]
:ring {:handler clojsa.handler/app} :ring {:handler clojsa.handler/app}
:uberjar-name "clojsa-standalone.jar"
:profiles :profiles
{:dev {:dependencies [[javax.servlet/servlet-api "2.5"] {:dev {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring/ring-mock "0.3.2"]]}}) [ring/ring-mock "0.3.2"]]}
:production {:env {:production true}}})