Datomic Notes
- Services
To start the transactor:
$DATOMIC_HOME/bin/transactor <path-to-properties-file>
To start the console webapp:
$DATOMIC_HOME/bin/console -p 8080 dev datomic:dev://localhost:4334/
To start a repl (which is also serves as a peer):
$DATOMIC_HOME/bin/repl
user=> (require '[datomic.api :as d])
user=> (def db-uri "datomic:dev://localhost:4334/hello")
user=> (d/create-database db-uri)
user=> (def conn (d/connect db-uri))
To start a peer:
$DATOMIC_HOME/bin/run -m datomic.peer-server -h localhost -p 8998 -a myaccesskey,mysecret -d hello,datomic:dev://localhost:4334/hello
- Datoms
EAVTO
Entity ID Attribute Value Transaction
- Schema
db/ident
keyword db/valueType
ref db/cardinality
ref db/unique
ref db/isComponent
ref