This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-21
Channels
- # babashka (5)
- # beginners (62)
- # biff (22)
- # calva (22)
- # cider (31)
- # clojure (26)
- # clojure-europe (21)
- # clojure-gamedev (32)
- # clojure-norway (2)
- # clojurescript (22)
- # conjure (1)
- # cursive (2)
- # data-science (14)
- # datomic (22)
- # emacs (6)
- # fulcro (1)
- # ghostwheel (2)
- # gratitude (4)
- # hugsql (15)
- # hyperfiddle (26)
- # lsp (1)
- # melbourne (1)
- # off-topic (19)
- # pathom (5)
- # pedestal (4)
- # practicalli (2)
- # rdf (24)
- # releases (2)
- # shadow-cljs (33)
- # squint (31)
- # tools-deps (24)
- # xtdb (9)
Do you have to user a .war file to deploy a Pedestal service? Can it be a .jar instead? Also, doing this with deps.edn, does anyone have any pointers to documentation (I saw this https://clojure.atlassian.net/browse/TBUILD-21 & http://pedestal.io/guides/war-deployment). Also, does anyone have experience deploying a Pedestal service to Azure App Service? Any advice on that? Thank you
Generally, you stand up an embedded Jetty (or Tomcat) instance as part of your application, but building and deploying a WAR file is also supported.
It looks like a rarely-taken path. A crucial part is not there - A link or precise reference to "the Pedestal template", from which you should copy some functions, would be a good addition.
But OP wanted to use a jar instead, and indeed that is very easy to do with Pedestal, such as by following the Hello World tutorial at http://pedestal.io/guides/.