-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
30 lines (29 loc) · 1.39 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(defproject cognition-caps "1.0.0-SNAPSHOT"
:description "The software behind the Cognition Caps website"
:main cognition-caps.core
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/clojure-contrib "1.2.0"]
[org.clojure/data.json "0.2.1"]
[clj-time "0.3.0"]
[compojure "1.1.3"]
[enlive "1.0.0"]
[com.cemerick/rummage "1.0.1"]
[net.java.dev.jets3t/jets3t "0.8.1"]
[commons-codec "1.6"]
[clj-logging-config "1.6"]
[log4j "1.2.16"]
[org.slf4j/slf4j-api "1.6.1"]
[org.slf4j/slf4j-log4j12 "1.6.1"]
[ring "1.1.6"]
[rome "1.0"]]
:profiles { :dev { :dependencies [[com.mysql/connectorj "5.1.12"]] } } ; migration from Hostmonster/MySQL
:repl-options {
; Some common setup for REPL work
:init (do
(require '[cemerick.rummage :as sdb]
'[cemerick.rummage.encoding :as enc])
(require '[cognition-caps [config :as c] [data :as data]]
'[cognition-caps.data.simpledb :as simpledb] :reload-all)
(def client (sdb/create-client (c/config "amazon-access-id") (c/config "amazon-access-key")))
(def config (assoc (enc/all-prefixed-config) :client client)))})