aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.lisp12
-rw-r--r--vampire.asd2
-rw-r--r--vampire.lisp3
3 files changed, 16 insertions, 1 deletions
diff --git a/build.lisp b/build.lisp
index a69a352..f58dc54 100644
--- a/build.lisp
+++ b/build.lisp
@@ -1,3 +1,15 @@
(ql:quickload :vampire)
+(swank:swank-require
+ '(SWANK-IO-PACKAGE::SWANK-INDENTATION
+ SWANK-IO-PACKAGE::SWANK-TRACE-DIALOG
+ SWANK-IO-PACKAGE::SWANK-PACKAGE-FU
+ SWANK-IO-PACKAGE::SWANK-PRESENTATIONS
+ SWANK-IO-PACKAGE::SWANK-MACROSTEP
+ SWANK-IO-PACKAGE::SWANK-FUZZY
+ SWANK-IO-PACKAGE::SWANK-FANCY-INSPECTOR
+ SWANK-IO-PACKAGE::SWANK-C-P-C
+ SWANK-IO-PACKAGE::SWANK-ARGLISTS
+ SWANK-IO-PACKAGE::SWANK-REPL))
+
(sb-ext:save-lisp-and-die "bin/vampire" :toplevel #'vampire::run-vampire :executable t )
diff --git a/vampire.asd b/vampire.asd
index 4830ce2..4679228 100644
--- a/vampire.asd
+++ b/vampire.asd
@@ -7,6 +7,8 @@
:version "0.0.1"
:serial t
:depends-on (#:clog
+ #:hunchentoot
+ #:clack-handler-hunchentoot
#:bknr.datastore
#:legion
#:defclass-std
diff --git a/vampire.lisp b/vampire.lisp
index b207c8a..185ec57 100644
--- a/vampire.lisp
+++ b/vampire.lisp
@@ -10,6 +10,7 @@
((datastore-directory :ir :std #P"/srv/vampire/store/")
(static-directory :ir :std #P"/srv/vampire/static/")
(swank-port :std nil :doc "If set, swank is started on this port.")
+ (host :std "0.0.0.0")
(port :ir :std 4919)
(downloader-threads :ir :std 5)))
@@ -48,7 +49,7 @@
(start-downloader-service config)
(clog:initialize 'main
:port (port config)
- :host "localhost"
+ :host (host config)
:extended-routing t
:static-root (static-directory config))
(set-on-new-window (when-logged-in? 'user-home-page) :path "/home")