Giter VIP home page Giter VIP logo

boot-datomic's Introduction

boot datomic (experimental)

run the datomic transactor embedded in a boot pod

setup

install the datomic transactor pro jar into your local maven repository.

mvn install:install-file -DgroupId=com.datomic -DartifactId=datomic-transactor-pro -Dfile=datomic-transactor-pro-0.9.5078.jar -DpomFile=pom.xml

configure the BOOT_JVM_OPTIONS and DATOMIC LICENSE KEY environment variables.

export BOOT_JVM_OPTIONS="-client -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx2g -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Xverify:none"
export DATOMIC_LICENSE_KEY=<license-key>

add boot-datomic and your preferred logging framework to the environment.

(set-env!
  :source-paths #{"src"}
  :dependencies '[[tailrecursion/boot-datomic     "0.1.0-SNAPSHOT"] 
                 ;[org.slf4j/slf4j-nop            "1.7.7"]
                  [ch.qos.logback/logback-classic "1.0.1"] ]
  :repositories #(into % [["datomic"   {:url      "https://my.datomic.com/repo"
                                        :username (System/getenv "DATOMIC_REPO_USERNAME")
                                        :password (System/getenv "DATOMIC_REPO_PASSWORD") }]]))

(require
  '[tailrecursion.boot-datomic :refer [datomic]] )

(deftask run
  []
  (comp (wait) (speak) (datomic :license-key (System/getenv "DATOMIC_LICENSE_KEY")) ))

boot-datomic's People

Contributors

jumblerg avatar

Watchers

James Cloos avatar Scarlet Dame avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.