This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # alda (4)
- # beginners (9)
- # boot (2)
- # cider (56)
- # cljsrn (6)
- # clojure (29)
- # clojure-belgium (2)
- # clojure-gamedev (1)
- # clojure-russia (19)
- # clojure-uk (3)
- # clojurescript (7)
- # core-async (2)
- # datomic (16)
- # hoplon (96)
- # lein-figwheel (4)
- # om (2)
- # om-next (3)
- # other-languages (6)
- # planck (11)
- # reagent (9)
- # rethinkdb (1)
- # ring-swagger (1)
- # spacemacs (1)
I just started experimenting with datomic today so I don’t known much about it.. I’m having some trouble getting the rest service to work with postgres… .. what I don’t understand is what URI I should provide to the rest service..
The transactor says: System started datomic:sql://<DB-NAME>?jdbc:<postgresql://localhost:5432/datomic?user=datomic&password=datomic>, you may need to change the user and password parameters to work with your jdbc driver
What is the <DB-NAME> part? Is it a datomic database name or a postgres database name?
I guess it is a datomic database name…. but then I could only start the REST service for a specific datomic database, not for all of them at the storage service?
Did some more experiments and it looks like I could just leave the <DB-NAME> part out when starting the REST service...
Now I’m having trouble with the console…. I can start it and access the web page but when I click something or type a character it just reloads… no error messages or anything, just a reload of the whole web-page
bin/console -p 8080 sql "datomic:sql://?jdbc:<postgresql://localhost:5432/datomic?user=datomic&password=datomic>"
sql = datomic:sql://?jdbc:<postgresql://localhost:5432/datomic?user=datomic&password=datomic>
@jonaskello: I know that at least one version of Datomic was released with a broken console, would recommend downloading another version and try the console of that one (just the console, you don't have to change the version you're running the transactor with)
@val_waeselynck: Thanks, I’m currently running datomic-pro-0.9.5359.. will try another version of the console..
Downloaded console v0.1.206 (which was the only version I could find in http://my.datomic.com)… I just pasted those files into the datomic-pro-0.9.5359 directory replacing any duplicates.. not sure if that is the correct way to do it? When I try to start the console now it says "Error: Could not find or load main class clojure.main"