This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-13
Channels
- # arachne (2)
- # architecture (23)
- # bangalore-clj (5)
- # beginners (35)
- # boot (79)
- # cider (6)
- # cljs-dev (34)
- # cljsrn (9)
- # clojure (164)
- # clojure-argentina (2)
- # clojure-austin (4)
- # clojure-italy (7)
- # clojure-russia (40)
- # clojure-serbia (1)
- # clojure-spec (76)
- # clojure-uk (36)
- # clojurescript (47)
- # cursive (14)
- # datascript (2)
- # datomic (8)
- # dirac (19)
- # emacs (29)
- # heroku (7)
- # hoplon (35)
- # jobs-rus (1)
- # juxt (2)
- # leiningen (1)
- # lumo (23)
- # mount (4)
- # off-topic (22)
- # om (16)
- # onyx (19)
- # parinfer (10)
- # pedestal (47)
- # proton (5)
- # re-frame (88)
- # rum (1)
- # spacemacs (33)
- # sql (29)
- # uncomplicate (1)
- # unrepl (131)
- # untangled (5)
- # yada (12)
Is it better to ask Vase questions in the #vase channel (which seems to be very quiet) or here?
Hmm, LOL, looks like that channel has only two subscribers (including me). So, repeating question here:
I'm trying to run the petstore-full sample (https://github.com/cognitect-labs/vase/tree/master/samples/petstore-full) but I'm getting an error Connection Refused localhost:4335
you can quick start that vase example by replacing datomic uri from :datomic-uri "datomic:
to :datomic-uri "datomic:
. So you don't have to setup datomic free.
To use Datomic Pro and a non in-memory db, you need to startup a separate Datomic process
In case you’re interested, here’s where the Datomic DB get’s initialized. https://github.com/cognitect-labs/vase/blob/master/src/com/cognitect/vase.clj#L45
How could i have started up a separate Datomic process, if I didn't want to edit those files?
So you’d download Datomic free: https://my.datomic.com/downloads/free
Am I missing something about the Vase philosophy? The docs say that it is self-contained with Datomic enclosed. Yet, the sample app is configured to need Datomic pre-installed or undocumented changes to its config file.
Stranger, the Vase sample app mentions that changes are needed to move from Datomic Free to Pro. But, no mention of what is needed for the in-mem version that comes with Vase itself.
(Is this even the right channel for me to be venting about this? Or is there a more Vase-specific place? -- #vase seems to abandoned)
So let me make sure I’m not giving you bad advice, It’s been a while since I’ve run the vase samples.
re: Datomic free, it requires you to spin up a local transactor using the bin/transactor
cli which is available when you download Datomic free
The Vase samples shouldn’t really depend on Datomic free. An In-memory DB would be better
I’d recommend using at least Datomic free when running a real hobbie system. For Prod I’d consider Datomic Pro.
Got it, thanks. I'm putting together a small PR with this and some other minor typos I found in the docs. I was going to just add to the readme, giving the change you supplied above. But, would it be better to instead change the .edn files so they work immediately?
@deg I’d create a separate PR for changing the edn files to use an in memory db plus the readme update.
Most of the other samples work as is. But, vasebi crashes on first connection to localhost:8080. I don't grok the entire stack trace, but looks like the immediate cause is an NPE.
@ddeaguiar Is there anyway I can help with the development of Vase somehow? It seems very interesting. I'm familiar with Clojure(script) but haven't had any experience contributing to open-source.
@alanspringfield, there sure is. There are gaps in the documentation. At minimum the creation of issues around that would be useful. There are already some issues for that as well. If you’d like to contribute to the code, be sure to check out the Contributing section of the README (https://github.com/cognitect-labs/vase#contributing).