Fork me on GitHub
#luminus
<
2017-06-20
>
yogthos02:06:16

Yeah, you should be able to initialize the database using the init script

donyorm12:06:28

So I just noticed that luminus has a require for myapp.env in myapp.handler by default. But there's no corresponding file. How is that supplied?

donyorm13:06:59

Just figured it out, it was in the env/clj directory of the root directory

yogthos16:06:38

The reason is that environment is profile specific. You may wish to have different configurations for development and production, so this way you can manage that at compile time

donyorm18:06:11

Yeah, that makes sense

donyorm19:06:15

I'm now getting the error could not start [#'luminus-boot.core/http-server] due to (that's it) during this line (wrap-session {:cookie-attrs {:http-only true}}) (line 58), in the default middleware file. What could cause that? I'm trying to get luminus to run under boot, hence why I'm having so many issues.

donyorm19:06:15

hmmm, on further investigation it seems to be occur in the ring-web-jars middleware

yogthos21:06:39

@donyorm I know that for immutant you need the [org.webjars/webjars-locator-jboss-vfs "0.1.0"] dependency for ring-webjars

yogthos21:06:45

not sure if that might be related

donyorm21:06:35

hmmmm, not sure. I have the same immuntant dependencies for both projects

donyorm21:06:02

@yogthos I managed to trace it down to this error: ClassNotFoundException: org.jboss.vfs.VirtualFileFilter

donyorm21:06:35

I have no idea why that's not being found

yogthos21:06:05

that does appear to be related then, but not sure why it would be a boot specific issue

yogthos21:06:21

might be worth asking about it in the #immutant channel