Skip to content

Instantly share code, notes, and snippets.

View bobby's full-sized avatar

Bobby Calderwood bobby

View GitHub Profile
(ns user
(:require [clojure.java.io :as io]
[datomic.api :as d]))
(defn order-schema []
(read-string (slurp (io/resource "schema.edn"))))
(defn start-datomic! [uri schema]
(d/create-database uri)
(let [conn (d/connect uri)]