diff options
author | Tom Willemse | 2013-07-29 02:09:34 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-29 02:09:34 +0200 |
commit | 781befeb23bdbe90f1a8220da86d39ab6fd012fb (patch) | |
tree | 131c761e45481d592232b6c0bfef5a581edd8cb5 /util.lisp | |
parent | 0b13436d1a0907f6b389b5a32f5b078aa12f11b0 (diff) | |
download | scrumli-781befeb23bdbe90f1a8220da86d39ab6fd012fb.tar.gz scrumli-781befeb23bdbe90f1a8220da86d39ab6fd012fb.zip |
Rewrite with ningle
Replaces restas with ningle. Restas had 2 problem I could not overcome:
1) It would only let me return a status code or a response, not, for
example, a 403 status code with some json. 2) It would not allow me to
place it under a subdirectory.
Both of these problems possibly (likely) have solutions with restas, but
I already found out how to do these things with ningle.
This rewrite is sloppy and messy. The code should be cleaned up soon.
Diffstat (limited to 'util.lisp')
-rw-r--r-- | util.lisp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/util.lisp b/util.lisp deleted file mode 100644 index b6fcfdb..0000000 --- a/util.lisp +++ /dev/null @@ -1,8 +0,0 @@ -(in-package #:scrumli) - -(defun start-scrumli (&key hostname (port 8080) - (datastore 'scrumli.pg-datastore:pg-datastore) - datastore-init) - (setf *datastore* (apply #'make-instance datastore datastore-init)) - (init) - (start '#:scrumli :port port :hostname hostname)) |