-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
executable file
·38 lines (28 loc) · 1.22 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
(defproject sample-clojure-cloudbees "1.0.0-SNAPSHOT"
:description "PingTOWN"
;; Your app id here ! account/appname
:cloudbees-app-id "webinar/pingtown"
;; punch in your cloudbees details - don't put your secrets in this file or you will
;; accidentally put them in git !
;;
;; - you can also have these in ~/.bees/bees.config in the form of
;; bees.api.secret=S
;; bees.api.key=Y
;;:cloudbees-api-key ~(slurp "/Users/michaelneale/michaelvideo-cloudbees.apikey")
;;:cloudbees-api-secret ~(slurp "/Users/michaelneale/michaelvideo-cloudbees.secret")
;; ring is middleware for clojure
;; the compujure web framework is handy (which uses ring)
:dependencies [[org.clojure/clojure "1.3.0"]
[compojure "1.0.4"]
[http.async.client "0.4.5"]
[overtone/at-at "1.0.0"]
[ring-http-basic-auth "0.0.2"]
[cheshire "4.0.0"]]
;; so we can do "lein ring server" (and used by deployment plugin)
:dev-dependencies [[lein-ring "0.7.1"]
[lein-cloudbees "1.0.2-SNAPSHOT"]]
;; the main entry point for our app
:ring { :handler pingtown.core/app }
:init (fn [] (println "INIT"))
:destroy (fn [] (println "DESTROY"))
)