Skip to content

Buildpack for SBCL on Heroku.

License

Notifications You must be signed in to change notification settings

yangby/heroku-buildpack-sbcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-sbcl

Buildpack for SBCL on Heroku.

Environment

The Operating System

Requirements / Dependencies

Usage

Write a file named build.lisp in the root of your source tree to build the system.

(log-title "Building system ...")
(ql:quickload :any-thing-you-want)
(log-footer "")

(Optional) Write a file named build.env in the root of your source tree to define environment variables.

export SBCL_VERSION="sbcl-1.3.17-x86-64-linux"

Write a file named Procfile in the root of your source tree to start the server.

web: sbcl --script web-launcher.lisp

Write a file named web-launcher.lisp in the root of your source tree for Procfile to execute.

(require :asdf)
(asdf:disable-output-translations)
(defvar *port* (parse-integer (asdf::getenv "PORT")))
(load "root/quicklisp/setup.lisp")
(require :web-server)
(web-server:start :port *port*)

Examples

References

About

Buildpack for SBCL on Heroku.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published