Skip to content

Commit

Permalink
heroky deployment: change Procfile to start the app from the saved li…
Browse files Browse the repository at this point in the history
…sp image
  • Loading branch information
avodonosov committed Mar 1, 2013
1 parent df389b7 commit 469fa67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Original file line Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions heroku-compile.lisp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
(print ">>> saving image tg-server...") (print ">>> saving image tg-server...")
(sb-ext:save-lisp-and-die (merge-pathnames "tg-server" *build-dir*) (sb-ext:save-lisp-and-die (merge-pathnames "tg-server" *build-dir*)
:toplevel (lambda () :toplevel (lambda ()
(asdf:disable-output-translations) ;; just in case, although everything is loaded already
(tg-server:start :port (parse-integer (asdf::getenv "PORT")) (tg-server:start :port (parse-integer (asdf::getenv "PORT"))
:smtp-password (asdf::getenv "SMTP_PASSWORD")) :smtp-password (asdf::getenv "SMTP_PASSWORD"))
(loop (sleep 1000))) (loop (sleep 1000)))
Expand Down

0 comments on commit 469fa67

Please sign in to comment.