Last active
February 22, 2016 19:11
-
-
Save ftravers/ffbdda0d982b6212d0a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn temp-uri [] (str "datomic:free://localhost:4334/" (rand-int 10000))) | |
(defn do-all [] | |
(let [temp-uri (temp-uri) | |
con (d/connect temp-uri)] | |
(d/create-database temp-uri) | |
(load-db-file con "schema/catribute-schema.edn") | |
(load-db-file con "schema/catribute-data.edn") | |
con)) |
ghadishayban
commented
Feb 22, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment