Fork me on GitHub
#luminus
<
2017-03-26
>
pc12306:03:25

Hi all, I'm trying to get the base Luminus app uploaded and working to elastic beanstalk (as an uberwar on Tomcat), but don't quite understand what I should expose as the :handler in the :uberwar definition in project.clj some of the tutorials specified that as :handler <project-name>.handler/app, but app seems to have changed from a variable into a function, so I'm not quite sure what the correct value should be. any help would be much appreciated :)

yogthos14:03:25

if you make a new app using the +war flag, you can see how that's setup

pc12317:03:27

thanks! the app worked now (after deploy) when moving my code into a +war flag. Re-reading the deployment docs now (http://www.luminusweb.net/docs/deployment.md), I missed this statement "The +war Luminus profile is incompatible with Immutant apps intended to run on WildFly and should not be used". Was only looking at the "Deploying to Tomcat" section and was trying to follow the steps for manually enabling the lein-uberwar plugin

yogthos21:03:53

the main difference is that you don't need to have a main and the embedded HTTP server in the war

pc12322:03:53

i see, thanks