add env specific site.config files (which also contain a couchdb url)
This commit is contained in:
parent
497dcab29a
commit
027bf9dfb6
1
env-resources/dev/site.config
Normal file
1
env-resources/dev/site.config
Normal file
|
@ -0,0 +1 @@
|
|||
{:database {:url "http://couchdb:5984/"}}
|
1
env-resources/prod/site.config
Normal file
1
env-resources/prod/site.config
Normal file
|
@ -0,0 +1 @@
|
|||
{:database {:url "http://127.0.0.1:5984/"}}
|
14
project.clj
14
project.clj
|
@ -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")
|
Reference in a new issue