luminus

llsouder 2018-09-17T16:42:35.000100Z

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.

olleromo 2018-09-17T18:26:54.000100Z

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).

llsouder 2018-09-17T19:45:33.000100Z

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