|
|
|
@ -27,7 +27,11 @@
|
|
|
|
|
'()) |
|
|
|
|
|
|
|
|
|
(defconfig |production| |
|
|
|
|
'()) |
|
|
|
|
`(:debug nil |
|
|
|
|
:databases |
|
|
|
|
((:maindb :sqlite3 :database-name ,(merge-pathnames #P"db/hot-line.db" |
|
|
|
|
*application-root*))))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defconfig |test| |
|
|
|
|
'()) |
|
|
|
@ -43,3 +47,8 @@
|
|
|
|
|
|
|
|
|
|
(defun productionp () |
|
|
|
|
(string= (appenv) "production")) |
|
|
|
|
|
|
|
|
|
;;; Use this to change the environment between "development" and |
|
|
|
|
;;; "production". This change is mostly to specifiy which database the |
|
|
|
|
;;; system will use. |
|
|
|
|
(setf (osicat:environment-variable "APP_ENV") "development") |
|
|
|
|