Fork me on GitHub
#luminus
<
2016-05-12
>
thug.nasty02:05:01

so I ran lein uberjar and it created the two .jar files

thug.nasty02:05:24

I just realized that I don’t know how I’m supposed to create the H2 db

thug.nasty02:05:32

how would I go about doing that?

thug.nasty03:05:00

@yogthos: when I deploy, I want to use the standalone. however, the server won’t start up because it can’t seem to find the driver for h2.

thug.nasty03:05:20

I thought lein uberjar included everything it would ever need.

lewix03:05:31

@thug.nasty: lein new luminus guestbook +h2

thug.nasty03:05:05

that’s what I did

thug.nasty03:05:12

that’s how I created this project

thug.nasty03:05:05

java.sql.SQLException: No suitable driver found for null

thug.nasty04:05:35

disregard - it was an issue with OpenBSD

thug.nasty04:05:46

once I switched to my Ubuntu droplet, everything magically worked

dfcarpenter05:05:50

So i’m trying to get a project started with the basic luminus template and on lein run I keep getting lots of errors https://gist.github.com/anonymous/ac642fd8938a0236f832aa971be857d6

yogthos12:05:10

@dfcarpenter: from the error it looks like there’s something in the config that’s causing the error

yogthos12:05:25

the [cprop](https://github.com/tolitius/cprop) library tries to merge the config with the environment, so the config in the environment has to match the format of the default config in env/dev/resources/config.edn

tolitius14:05:45

@dfcarpenter: most likely the property you are trying to override OR the override itself "match, but not really". here is an example: edn: {:a {:b {:c 42}}} override: a.b.c.d=34 or A__B__C__D=34 I fixed cprop (https://github.com/tolitius/cprop/commit/c71d969ce636f099f116839d057222f883ccbdec) to say that a.b.c.d does not match anything in {:a {:b {:c 42}}} map, so you should no longer get the error. pull in [cprop "0.1.8-SNAPSHOT"] and give it a try

dfcarpenter15:05:43

@yogthos So I flushed my luminus folder in the ~/.mn and also renamed my project and it worked. Anyways I found that using “user_admin” for the name of my project just wouldn’t work. I tried variations such as “usr_admin” etc and those seem to work. Not sure what was going on.

yogthos15:05:02

yeah that's a bit odd, I can't think of anything in the template that relates to that variable