2 | To run me
, boot up your lisp and type
4 | If any unmet dependencies crop up
,
5 | see the INSTALL file for the packages
6 | used directly. They have their own dependencies.
8 | Set your options in here
,
9 | see the CONFIG OPTIONS section.
12 (defpackage :lineal.devvars
(:use
:cl
))
13 (in-package :lineal.devvars
)
14 ;^ Don't pollute the standard namespace.^
16 ;V Change relative directory base.V
17 (setf *default-pathname-defaults
*
19 (make-pathname :directory
'(:relative
"src"))
20 *default-pathname-defaults
*))
23 ;VVV CONFIG OPTIONS VVV
25 ; To uncomment an option, change #+(or) to #-(or)
26 ; All pathnames are relative to the src/ directory.
28 ; Lineal will output confirmation of all options
29 ; set here near the end of it's load-time output.
31 ; If any of these options is true/false, the actual
32 ; value of the option is not checked, only if it's bound.
33 ; ie: if the option is explicitly set to nil,
35 ; it is still treated as true.
36 ; Use (makunbound 'option) to falsify.
38 ; Set Hunchentoot's temporary directory to
39 ; a folder named "tmp" in Lineal's toplevel
43 (make-pathname :directory
'(:relative
:up
"tmp")))
45 ; Make the log file's name "requests.log"
46 ; and have it appear in Lineal's toplevel
50 (make-pathname :directory
'(:relative
:up
"")
51 :name
"requests.log"))
53 ; Enable the reload page for easy changes.
54 #+(or) (set 'reload-page t
)
56 ; Enable save/restore.
57 #-
(or) (set 'save-restore t
)
59 ; Set the port number where Hunchentoot listens.
62 ;^^^ CONFIG OPTIONS ^^^
66 (load (make-pathname :directory
'(:relative
"webui")