Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 2.02 KB

README.md

File metadata and controls

63 lines (42 loc) · 2.02 KB

Heroku Buildpack for Common Lisp

A Buildpack that allows you to deploy Common Lisp applications on the Heroku infrastructure.

Original work by Mike Travers, [email protected]

Changes

  • Support for SBCL and Hunchentoot.

Example app at https://github.com/jsmpereira/heroku-cl-example

  • Implementation choice via env variables.

You need this first: http://devcenter.heroku.com/articles/labs-user-env-compile. It will allow the config vars to be present at build time.

Then you can do heroku config:add CL_IMPL=sbcl or heroku config:add CL_IMPL=ccl

  • Web server choice heroku config:add CL_WEBSERVER=hunchentoot or heroku config:add CL_WEBSERVER=aserve

Notes

  • To avoid trouble with SBCL source encoding use: heroku config:add LANG=en_US.UTF-8

  • Hunchentoot working with SBCL and CCL. AllegroServe working with CCL. There's however an issue with AllegroServe in SBCL. acl-compat bundled in https://github.com/mtravers/portableaserve seems to be using some SBCL deprecated sb-thread functions.

José Santos, [email protected]

######I've kept the original readme for reference.

Status

Notes

  • The scripts bin/test-compile and bin/test-run simulate as far as possible the Heroku build and run environments on your local machine.

Todos

  • parameterizing/forking for other Lisp implementations and web servers.
  • support for Heroku's database infrastructure.

Credits

Mike Travers, [email protected]