diff --git a/FAQ b/FAQ index 63af6e5..e19f3b0 100644 --- a/FAQ +++ b/FAQ @@ -7,7 +7,7 @@ A) If running a tutorial or demo: Or you can use (setf clog::*overide-static-root* #P"~/common-lisp/clog/static-files/") to overide the static path in (clog:initialize) - If running your own app. Make sure the :static-file key is set correctly on (clog:initialize) + If running your own app. Make sure the :static-root key is set correctly on (clog:initialize) Q) How do I turn my CLOG app in to a native Mac, Windows or Linux app? diff --git a/README.md b/README.md index b084e9f..ded3fc0 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ have Quicklisp configured): 1. cd to the CLOG dir (the dir should be one used by Quicklisp ex. ~/common-lisp/) 2. Start emacs/slime or your common lisp "repl" in _that_ directory. + (This is just for tutorial, so relative paths work. In your app you just set + the :site-root directory any place you want on initialize.) 3. In the REPL, run: CL-USER> (ql:quickload :clog) diff --git a/clog-system.lisp b/clog-system.lisp index 68ed58e..8f5c459 100644 --- a/clog-system.lisp +++ b/clog-system.lisp @@ -18,7 +18,10 @@ (defvar *clog-running* nil "If clog running.") -(defvar *overide-static-root* nil "Overide the static-root settings.") +(defvar *overide-static-root* nil + "Overide the static-root settings. This is not normally a good idea, but if +trying to run the tutorials or demos and unable to have your local directy the +same as the clog directy this overides the relative paths used in them.") ;;;;;;;;;;;;;;;; ;; initialize ;;