-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
80 lines (61 loc) · 3.02 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
(defproject patronage "0.1.0-SNAPSHOT"
:description "codesy.io"
:url "http://github.com/codesy/patronage"
:license {:name "GNU Affero General Public License, version 3 (AGPLv3)"
:url "http://www.gnu.org/licenses/agpl-3.0.html"}
:repl-options {:init-ns patronage.repl}
:dependencies [[org.clojure/clojure "1.5.1"]
[dire "0.5.1"]
;; HTTP
[ring/ring-core "1.2.1"]
[ring-server "0.3.1"]
;; Routing
[compojure "1.1.6"]
;; Database
[korma "0.3.0-RC6"]
[ragtime "0.3.4"]
;; REST architecture
[liberator "0.10.0"]
;; Authentication/Authorization
[com.cemerick/friend "0.2.0"]
[friend-oauth2 "0.1.1"]
;; Logging
[log4j "1.2.17"
:exclusions [javax.mail/mail
javax.jms/jms
com.sun.jdmk/jmxtools
com.sun.jmx/jmxri]]
[com.taoensso/timbre "3.0.0-RC2"]
[com.postspectacular/rotor "0.1.0"]
;; Environment Settings
[environ "0.4.0"]
;; Internationalization
[com.taoensso/tower "2.0.1"]]
:ring {:handler patronage.handler/auth-app-handler
:init patronage.handler/init
:destroy patronage.handler/destroy}
:profiles {:dev
{:dependencies [[org.clojure/tools.trace "0.7.6"]
[ring-mock "0.1.5"]
[ring/ring-devel "1.2.1"]
[org.postgresql/postgresql "9.3-1100-jdbc41"]]
:ring {:open-browser? false
:nrepl {:start? true}}}
:dev-ssl
{:dependencies [[org.clojure/tools.trace "0.7.6"]
[ring-mock "0.1.5"]
[ring/ring-devel "1.2.1"]
[org.postgresql/postgresql "9.3-1100-jdbc41"]]
:ring {:adapter {:ssl-port 3443
:keystore "codesykeystore"
:key-password "codesy"}
:open-browser? false
:nrepl {:start? true}}}
:production
{:dependencies [[org.postgresql/postgresql "9.3-1100-jdbc41"]]
:ring {:open-browser? false
:stacktraces? false
:auto-reload? false}}}
:plugins [[lein-ring "0.8.8"]
[lein-environ "0.4.0"]]
:min-lein-version "2.0.0")