|
@@ -228,4 +228,7 @@
|
|
|
(defvar *photo-storage-path* nil "Destination storage path")
|
|
(defvar *photo-storage-path* nil "Destination storage path")
|
|
|
|
|
|
|
|
(defun start (&key (address "0.0.0.0") (port 8800))
|
|
(defun start (&key (address "0.0.0.0") (port 8800))
|
|
|
|
|
+ (let ((config (asdf:system-relative-pathname :photo-store "config.lisp")))
|
|
|
|
|
+ (when (probe-file config)
|
|
|
|
|
+ (load config)))
|
|
|
(restas:start '#:photo-store :address address :port port))
|
|
(restas:start '#:photo-store :address address :port port))
|