Skip to content

Instantly share code, notes, and snippets.

@eslick
Created October 21, 2013 16:54
Show Gist options
  • Save eslick/7087091 to your computer and use it in GitHub Desktop.
Save eslick/7087091 to your computer and use it in GitHub Desktop.
Switchboard project.clj
(defproject switchboard "0.8.0-SNAPSHOT"
:description "Real-Time Healthcare"
:url "http://swb.io"
:license {:name "To Be Determined"}
:min-lein-version "2.0.0"
:main ^{:skip-aot true} switchboard.server
:resource-paths ["config", "resources"]
:aliases {"cas-dev" ["trampoline" "run" "-m" "switchboard.db.cassandra-test/start-embedded-server"]}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/core.async "0.1.242.0-44b1e3-alpha"]
;; Web Framework
[io.pedestal/pedestal.service "0.2.1"]
[io.pedestal/pedestal.service-tools "0.2.1"]
[clj-http "0.7.7"]
;; Data stores
[com.datomic/datomic-pro "0.8.4143"
:exclusions [org.slf4j/slf4j-nop org.slf4j/slf4j-log4j12]]
[clojurewerkz/cassaforte "1.2.0"
:exclusions [org.slf4j/slf4j-nop org.slf4j/slf4j-log4j12
org.xerial.snappy/snappy-java]]
[org.xerial.snappy/snappy-java "1.1.0-M4"]
;; Utilities
[org.mindrot/jbcrypt "0.3m"]
[cheshire "5.2.0"]
[midje "1.5.0"]
[nrepl-inspect "0.3.0"]]
:plugins [[lein-immutant "1.1.0"]
[lein-midje "3.0.0"]]
:repl-options {:nrepl-middleware
[inspector.middleware/wrap-inspect]}
:immutant {:resolve-dependencies true
:nrepl-port 4005
:context-path "/api"}
:profiles {:dev {:dependences [[org.apache.cassandra/cassandra-all "1.2.10"]]
:immutant {:lein-profiles [:dev]
:init switchboard.server/run-immutant-dev}}
:prod {:immutant {:lein-profiles [:prod]
:init switchboard.server/run-immutant}}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment