Fork me on GitHub
#luminus
<
2018-09-17
>
llsouder16:09:35

I put a luminus toy page that uses an H2 database, when I deploy it to heroku I have issues. I have to run migrate, but then the confi.edn was missing, when I solved that with -Dconf=env/xxxxxx I get a database url error. Most of my googling brings to postgres stuff which I did get to work with another toy luminus app, but I want to use H2 just for the "how does this work" factor.

olleromo18:09:54

I am far from expert, but I add the DB details as environment variables on the server. Env picks it up. The edn file is not copied for security reasons (i believe).

llsouder19:09:33

ok, I set DATABASE_URL="jdbc:h2:./test-app.db` and now the server runs, still no db but I am closer. thanks.