add env specific site.config files (which also contain a couchdb url)

This commit is contained in:
Gered 2014-04-06 12:57:52 -04:00
parent 497dcab29a
commit 027bf9dfb6
3 changed files with 10 additions and 6 deletions

View file

@ -0,0 +1 @@
{:database {:url "http://couchdb:5984/"}}

View file

@ -0,0 +1 @@
{:database {:url "http://127.0.0.1:5984/"}}

View file

@ -26,9 +26,11 @@
:profiles {:uberjar {:aot :all} :profiles {:uberjar {:aot :all}
:production { :ring {:open-browser? false :production { :ring {:open-browser? false
:stacktraces? false :stacktraces? false
:auto-reload? false}} :auto-reload? false}
:resource-paths ["env-resources/prod"]}
:repl {:source-paths ["dev"]} :repl {:source-paths ["dev"]}
:dev {:env {:dev true} :dev {:env {:dev true}
:dependencies [[ring-mock "0.1.5"] :dependencies [[ring-mock "0.1.5"]
[ring/ring-devel "1.2.2"]]}} [ring/ring-devel "1.2.2"]]
:resource-paths ["env-resources/dev"]}}
:min-lein-version "2.0.0") :min-lein-version "2.0.0")