-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
executable file
·85 lines (73 loc) · 3.07 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
81
82
83
84
85
(defproject startlabs "0.1.0-SNAPSHOT"
:description "The new Start Labs Pad"
:url "http://startlabs.org"
:plugins [[lein-cljsbuild "0.2.10"
:exclusions [org.clojure/clojure
com.google.guava/guava]]
[lein-ring "0.8.0"
:exclusions [lein-jacker
org.clojure/clojure]]
[com.birdseye-sw/lein-dalap "0.1.0"]]
;clj core
:dependencies [[org.clojure/clojure "1.5.0"]
[org.clojure/tools.logging "0.2.4"]
[org.clojure/core.incubator "0.1.2"] ; for -?> goodness
[org.clojure/math.numeric-tower "0.0.2"]
;clj other
[http-kit "2.0.0-RC4"]
[cheshire "5.0.1"]
[climp "0.1.2"
:exclusions [cheshire]]
[clj-aws-s3 "0.3.3"]
[clj-http "0.6.3"
:exclusions [commons-codec]]
[clj-rss "0.1.2"
:exclusions [org.clojure/clojure]]
[clj-time "0.4.4"]
[compojure "1.1.5"
:exclusions [org.clojure/tools.macro]]
[environ "0.3.1"]
[hiccup "1.0.2"]
[lib-noir "0.3.4"
:exclusions [cheshire]]
[markdown-clj "0.9.18"]
[oauth-clj "0.1.1"]
[ring-basic-authentication "1.0.1"]
;clj other other
[com.datomic/datomic-free "0.8.3826"
:exclusions [com.amazonaws/aws-java-sdk
org.codehaus.jackson/jackson-core-asl
org.slf4j/slf4j-nop
org.slf4j/log4j-over-slf4j]]
[com.draines/postal "1.9.2"]
[org.clojars.cjschroed/sandbar "0.4.0"
:exclusions [inflections
ring/ring-core
slingshot]]
[org.slf4j/slf4j-log4j12 "1.7.2"]
[sherbondy/clj-stripe "1.0.5"]
;cljs
[cljs-hash "0.0.2"]
[jayq "2.0.0"]
[org.clojure/google-closure-library "0.0-2029"]
[prismatic/dommy "0.0.1"]]
:source-paths ["src/clj"]
:hooks [leiningen.dalap]
:cljsbuild {:builds
[{:source-path "src/cljs"
:compiler {:output-to "resources/public/client.js"
:pretty-print true
:optimizations :simple}}]}
; switch to :advanced for production
:datomic {:schemas ["conf" ["schema.dtm"]]}
:profiles {:dev
{:datomic
{:config "conf/free-transactor-template.properties"
:db-uri "datomic:free://localhost:4334/startlabs"}}}
;; do lein ring server [port]
:ring {:handler startlabs.server/app
:init startlabs.server/init
:port 8000
:auto-reload? true}
;; alternatively, do lein run [port]
:main startlabs.server)