Fork me on GitHub

jellea: Into the Land of Quil is beautiful, and congratulations on winning the Clojure Cup!


Hey there, new to both Datomic, Clojure, and Clojurescript as a whole, also learning Om, and have been trying to figure out if there is a set of things a person must learn to get a sort of Hello World live on the web backed by datomic. I imagine some folks new to Clojure may have become intersted in datomic, and may desire to deploy things to the web. So far here is what I’ve got Compojure/Ring: Handle requests — ping the db (used the om intermediate tutorial for the old om for this, and the book Web Development with Clojure) Datomic Queries — was most useful resource, I got some value out of the day of datomic material but couldn’t find some answers I felt I needed since most written stuff seemed to be for java. Om next — om next devcards (but honestly om isn’t needed for this project, reagent/re-frame seem to have better documentation so might be better for those starting) Docker — using Docker’s networks you can name a container to have a particular hostname that other containers will point to — I’m starting with datomic free, since I know how to make that work locally, and want to get this ironed out before going onto datomic pro. Currently I think I’ve almost got the full stack connected, I’m just trying to figure out the best way to compile an app using lein uberjar without having it try to connect to the new host for my production db on datomic. Might anyone here have some examples of how one might do that. Or just an explanation of how one uses the component library to handle db connections during compilation of an uberjar? Datomic is seriously cool, is anyone teaching beginners how they can build apps all the way to deployment that are backed by datomic? I feel like I can’t be the only person who has spent a while trying to figure this out.