mirror of
https://github.com/vale981/quickdocs-server
synced 2025-03-04 16:51:38 -05:00
Use MySQL quickdocs database by default not only on production.
This commit is contained in:
parent
1716c1a2cc
commit
6e53947981
1 changed files with 4 additions and 5 deletions
|
@ -20,16 +20,15 @@
|
|||
(defparameter *template-directory* (merge-pathnames #P"templates/" *application-root*))
|
||||
|
||||
(defconfig :common
|
||||
`(:databases ((:maindb :sqlite3 :database-name ":memory:"))))
|
||||
`(:databases ((:maindb :mysql
|
||||
:database-name "quickdocs"
|
||||
:username "root"))))
|
||||
|
||||
(defconfig |development|
|
||||
'())
|
||||
|
||||
(defconfig |production|
|
||||
'(:error-log #P"/var/log/apps/quickdocs_error.log"
|
||||
:databases ((:maindb :mysql
|
||||
:database-name "quickdocs"
|
||||
:username "root"))))
|
||||
'(:error-log #P"/var/log/apps/quickdocs_error.log"))
|
||||
|
||||
(defconfig |test|
|
||||
'())
|
||||
|
|
Loading…
Add table
Reference in a new issue