Skip to content
deploy chicken apps on heroku
Shell
Latest commit 9d739ee May 29, 2016 Evan Hanson Update README to reflect real-world output
Failed to load latest commit information.
bin
README.md

README.md

Heroku Buildpack: CHICKEN Scheme

This is a Buildpack for deploying CHICKEN Scheme apps on Heroku's Cedar stack.

It comes with CHICKEN 4.11.0 and uses the egg packaging infrastructure to manage dependencies.

Usage

$ git ls-files
Procfile
deploy.meta
run.scm

$ cat deploy.meta
((description "An example CHICKEN app for Heroku")
 (depends awful))

$ cat run.scm
(use awful)
(define-page (main-page-path)
  (lambda () "Hello World!"))

$ cat Procfile
web: awful --port=$PORT run.scm

$ heroku create --buildpack https://bitbucket.org/evhan/heroku-buildpack-chicken.git
...

$ git push heroku master
...
-----> Fetching set buildpack https://bitbucket.org/evhan/heroku-buildpack-chicken.git... done
-----> CHICKEN app detected
-----> Installing CHICKEN 4.11.0
-----> Installing eggs
...
-----> Copying CHICKEN onto slug
-----> Configuring default environment
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 5.8M
-----> Launching...
       Released v1
       http://deep-journey-2786.herokuapp.com deployed to Heroku

To be recognized as a CHICKEN application, your project must have a run.scm, deploy.meta or deploy.setup file in its root. If no Procfile is included in the app, run.scm will be run as the default web process.

If a deploy.meta file is present, dependencies listed therein will be installed onto your slug during the deploy. This file should follow CHICKEN's metafile format.

If a deploy.setup file is present, it will be run by chicken-install during the deploy. This file should follow CHICKEN's setupfile format.

The vendored CHICKEN and installed eggs are cached between deploys. If a deploy.setup file is present, however, it is always rerun.

A specific version of CHICKEN to install can be defined in the metafile:

$ cat deploy.meta
((description "An example CHICKEN app for Heroku")
 (depends awful)
 (chicken 4.11.0))

The following CHICKEN releases are available in this way:

  • 4.7.0
  • 4.7.0.6
  • 4.8.0
  • 4.8.0.1
  • 4.8.0.2
  • 4.8.0.3
  • 4.8.0.4
  • 4.8.0.5
  • 4.8.0.6
  • 4.9.0.1
  • 4.10.0
  • 4.11.0
Something went wrong with that request. Please try again.