aboutsummaryrefslogtreecommitdiffstats
path: root/util.lisp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-30 22:38:05 +0200
committerGravatar Tom Willemse2013-07-01 00:01:48 +0200
commita9935738595c7fcbf78696a67d9e31b45830297f (patch)
treeb8c1a46d3ee8280af3dc46129975dcff8c628a5e /util.lisp
downloadscrumli-a9935738595c7fcbf78696a67d9e31b45830297f.tar.gz
scrumli-a9935738595c7fcbf78696a67d9e31b45830297f.zip
Initial commit
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))