forked from kennytilton/qooxlisp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
easy-load.lisp
28 lines (24 loc) · 960 Bytes
/
easy-load.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
;; Hopefully an easy start..
;; Run this on the commandline:
;;
;; sbcl --load easy-load.lisp
(defvar *here* *load-truename*)
(progn
(let ((base (namestring (make-pathname :directory
(pathname-directory *here*)))))
(flet ((add (relative)
(pushnew (parse-namestring (format nil "~a/~a" base relative))
asdf:*central-registry*)))
(mapcar #'add
'(""
"cl-json/"
"../cells/"
"../utils-kt/"
"apropos/")))
(assert (asdf:find-system :hunchentoot nil)
nil
"You need hunchentoot, install for example with quicklisp")
(asdf:oos 'asdf:load-op :qooxlisp)
(asdf:oos 'asdf:load-op :apropos)
(eval (read-from-string "(qooxlisp::serve-apropos 8000)"))
(format t "~%Look at localhost:8000 with your browser. If you have firefox, install firebug first.")))