Skip to content

Instantly share code, notes, and snippets.

@timgluz
Created February 23, 2013 19:26
Show Gist options
  • Save timgluz/5020971 to your computer and use it in GitHub Desktop.
Save timgluz/5020971 to your computer and use it in GitHub Desktop.
Example project.clj for lein-datomic
(defproject droplocally2 "0.1.0-SNAPSHOT"
:description "Lein-datomic example"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.4.0"]
[com.datomic/datomic-free "0.8.3814"]
:plugins [[lein-datomic "0.1.0"]] ;;remove if you added it .lein/profiles.clj
:profiles {:dev
{:datomic {:config "resources/free-transactor-template.properties"
:db-uri "datomic:free://127.0.0.1:4334/droplocally2"}}}
:datomic {:schemas ["resources/schemas" ["user-schema.edn"
"contact-schema.edn"]]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment