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

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