Skip to content

Instantly share code, notes, and snippets.

@ralfonso
Created April 24, 2012 20:47
Show Gist options
  • Save ralfonso/2483583 to your computer and use it in GitHub Desktop.
Save ralfonso/2483583 to your computer and use it in GitHub Desktop.
(use '[caribou.config :only (configure)])
(def default-config
{
:debug true
:use-database true
:halo-enabled true
:halo-prefix "/_halo"
:halo-key "9i209idfs09ugf0d9ug0fdsu09fdgis90dfgiigf0d-sgj0d9fgim,f09dgk"
:database {
:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:host "10.0.1.241"
:database "thejourney"
:user "nikebetterworld"
:password "worldbetternike"
}
:template-dir "resources/templates"
:controller-ns "thejourney.controllers"
:public-dir "resources/public"
})
;; This function is required as caribou-core calls it to determine its config
(defn get-config
[]
default-config)
(configure (get-config))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment