-
Notifications
You must be signed in to change notification settings - Fork 6
/
pref.lisp
70 lines (48 loc) · 1.95 KB
/
pref.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;;;; pref.lisp
;;;;
;;;; This file is part of the rulisp application, released under GNU Affero General Public License, Version 3.0
;;;; See file COPYING for details.
;;;;
;;;; Author: Moskvitin Andrey <archimag@gmail.com>
(defpackage :rulisp.preferences
(:use :cl)
(:export #:*rulisp-path*
#:*skindir*
#:*rulisp-db*
#:*host*
#:*cookie-cipher-key*
#:*noreply-mail-account*
#:*vardir*
#:*cachedir*
#:*default-skin*
#:*pcl-dir*
#:*wiki-dir*
#:*pcl-snapshot-url*
#:*pcl-snapshot-dir*
#:*pcl-load-snapshot-p*
#:*jscl-snapshot-url*
#:*jscl-snapshot-dir*
#:*jscl-load-snapshot-p*
#:*corefonts-dir*
#:*cm-fonts-dir*))
(in-package :rulisp.preferences)
(defparameter *vardir* #P"/var/rulisp/")
(defparameter *cachedir* #P"/var/cache/rulisp/")
(defparameter *rulisp-path* (asdf:component-pathname (asdf:find-system :rulisp)))
(defparameter *skindir* (merge-pathnames "static/skins/" *rulisp-path*))
(defparameter *default-theme* "archimag")
(defparameter *rulisp-db* '("rulisp" "lisp" "123" "localhost"))
(defparameter *host* "localhost:8080")
(defparameter *cookie-cipher-key* (ironclad:ascii-string-to-byte-array "Specify the secure key"))
(defparameter *noreply-mail-account* "noreply@lisper.ru")
(defparameter *default-skin* "fine")
(defparameter *pcl-dir* #P"/var/rulisp/pcl/dwiki/")
(defparameter *pcl-snapshot-url* #u"http://pcl.catap.ru/snapshot.zip")
(defparameter *pcl-snapshot-dir* #P"/var/rulisp/pcl/")
(defparameter *pcl-load-snapshot-p* nil)
(defparameter *jscl-snapshot-url* "https://github.com/davazp/jscl.git")
(defparameter *jscl-snapshot-dir* #P"/var/rulisp/")
(defparameter *jscl-load-snapshot-p* t)
(defparameter *wiki-dir* #P"/var/rulisp/wiki/")
(defparameter *corefonts-dir* #P"/usr/share/fonts/corefonts/")
(defparameter *cm-fonts-dir* #P"/usr/share/fonts/cm/")