Permalink
Browse files

heroky deployment: change Procfile to start the app from the saved li…

…sp image
  • Loading branch information...
1 parent df389b7 commit 469fa67814bba9401c716aa4e6acecccad623cf2 @avodonosov avodonosov committed Mar 1, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 Procfile
  2. +1 −0 heroku-compile.lisp
View
@@ -1 +1 @@
-web: ASDF_OUTPUT_TRANSLATIONS=/: ./sbcl/sbcl-1.0.54-x86-64-linux/run-sbcl.sh --load quicklisp/setup.lisp --eval "(ql:quickload :test-grid-server)" --eval "(tg-server:start :port $PORT :smtp-password \"$SMTP_PASSWORD\")" --eval "(loop (sleep 1000))"
+web: ./tg-server
View
@@ -12,6 +12,7 @@
(print ">>> saving image tg-server...")
(sb-ext:save-lisp-and-die (merge-pathnames "tg-server" *build-dir*)
:toplevel (lambda ()
+ (asdf:disable-output-translations) ;; just in case, although everything is loaded already
(tg-server:start :port (parse-integer (asdf::getenv "PORT"))
:smtp-password (asdf::getenv "SMTP_PASSWORD"))
(loop (sleep 1000)))

0 comments on commit 469fa67

Please sign in to comment.