aboutsummaryrefslogtreecommitdiffstats
path: root/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'util.lisp')
-rw-r--r--util.lisp9
1 files changed, 9 insertions, 0 deletions
diff --git a/util.lisp b/util.lisp
new file mode 100644
index 0000000..4cadf53
--- /dev/null
+++ b/util.lisp
@@ -0,0 +1,9 @@
+(in-package #:scrumli)
+
+(defun start-scrumli (&key
+ (port 8080)
+ (datastore 'scrumli.pg-datastore:pg-datastore)
+ datastore-init)
+ (setf *datastore* (apply #'make-instance datastore datastore-init))
+ (init)
+ (start '#:scrumli :port port))