This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-12
Channels
- # admin-announcements (1)
- # aleph (1)
- # arachne (10)
- # beginners (6)
- # boot (81)
- # braveandtrue (3)
- # cider (42)
- # cljs-dev (1)
- # cljs-edn (52)
- # cljsjs (9)
- # cljsrn (9)
- # clojure (62)
- # clojure-austin (1)
- # clojure-belgium (11)
- # clojure-berlin (2)
- # clojure-gamedev (2)
- # clojure-greece (1)
- # clojure-russia (73)
- # clojure-uk (98)
- # clojurescript (156)
- # community-development (4)
- # component (3)
- # cursive (30)
- # datascript (10)
- # datomic (17)
- # emacs (5)
- # events (1)
- # hoplon (315)
- # jobs (1)
- # jobs-discuss (3)
- # lein-figwheel (6)
- # luminus (18)
- # off-topic (13)
- # om (130)
- # other-languages (122)
- # re-frame (32)
- # reagent (27)
- # rethinkdb (6)
- # ring (2)
- # ring-swagger (31)
- # spacemacs (4)
- # untangled (6)
- # yada (30)
so I ran lein uberjar
and it created the two .jar files
I just realized that I don’t know how I’m supposed to create the H2 db
how would I go about doing that?
@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.
I thought lein uberjar
included everything it would ever need.
@thug.nasty: lein new luminus guestbook +h2
that’s what I did
that’s how I created this project
6ewis: ^
java.sql.SQLException: No suitable driver found for null
disregard - it was an issue with OpenBSD
once I switched to my Ubuntu droplet, everything magically worked
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
@dfcarpenter: from the error it looks like there’s something in the config that’s causing the error
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
@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
@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.