mirror of
https://github.com/vale981/quickdocs-server
synced 2025-03-05 09:11: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*))
|
(defparameter *template-directory* (merge-pathnames #P"templates/" *application-root*))
|
||||||
|
|
||||||
(defconfig :common
|
(defconfig :common
|
||||||
`(:databases ((:maindb :sqlite3 :database-name ":memory:"))))
|
`(:databases ((:maindb :mysql
|
||||||
|
:database-name "quickdocs"
|
||||||
|
:username "root"))))
|
||||||
|
|
||||||
(defconfig |development|
|
(defconfig |development|
|
||||||
'())
|
'())
|
||||||
|
|
||||||
(defconfig |production|
|
(defconfig |production|
|
||||||
'(:error-log #P"/var/log/apps/quickdocs_error.log"
|
'(:error-log #P"/var/log/apps/quickdocs_error.log"))
|
||||||
:databases ((:maindb :mysql
|
|
||||||
:database-name "quickdocs"
|
|
||||||
:username "root"))))
|
|
||||||
|
|
||||||
(defconfig |test|
|
(defconfig |test|
|
||||||
'())
|
'())
|
||||||
|
|
Loading…
Add table
Reference in a new issue