Fork me on GitHub
#ring
<
2020-06-23
>
teodorlu09:06:39

Hey! Seeing that there's a dedicated channel for Ring, I'm posting here too.

seancorfield17:06:44

@teodorlu My general advice is "don't use the ring plugin at all". Have a standard Leiningen project, with standard :dependencies, and set up your -main so you can just lein run it to start the server. Then plain ol' lein uberjar should work and you're back in the land of standard, simple, composable tools -- instead of relying on the behavior of a plugin (that just obscures what is going on).

teodorlu19:06:30

Thanks. I'm inclined to agree. Not knowing which dependencies are added to my jar file is ... a bit more magical than I'd prefer. This is an existing project that already uses lein ring server, but I'll have to consider the cost of that magic.