summaryrefslogtreecommitdiff
path: root/init.lisp
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-01-07 09:38:34 -0600
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-01-07 09:38:34 -0600
commitee7919667832660ef05939823af5516eb9344e16 (patch)
treed0da6e22ddf93d2546fa415a44594f7be0f5b379 /init.lisp
parentab0d667b3776786461d15112b648aafc3f00280f (diff)
Revert "Refactor: to embrace the new dnd.api package more fully"
This reverts commit ab0d667b3776786461d15112b648aafc3f00280f.
Diffstat (limited to 'init.lisp')
-rw-r--r--init.lisp6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lisp b/init.lisp
index 67e1fb9..c3382aa 100644
--- a/init.lisp
+++ b/init.lisp
@@ -10,6 +10,12 @@
:directory (merge-pathnames "dnd-store/" (user-homedir-pathname))
:subsystems (list (make-instance 'db:store-object-subsystem)))))
+(defvar *dnd-arena* nil
+ "The instance of the HTTP server.")
+(defun conjure-arena ()
+ (setf *dnd-arena* (lzb:create-server))
+ (lzb:install-app *dnd-arena* 'api)
+ (lzb:start-server *dnd-arena*))