by scaint

GitHub Readme.md

Crystal Heroku Buildpack

You can create an app in Heroku with Crystal's buildpack by running the following command:

$ heroku create myapp --buildpack https://github.com/scaint/heroku-buildpack-crystal.git

You can use Heroku config vars to specify versions of Crystal compiller (CRYSTAL_VERSION) and Shards (SHARDS_VERSION).

In order for the buildpack to work properly you should have a shard.yml file, as it is how it will detect that your app is a Crystal app.

To learn more about using custom buildpacks in Heroku, read their docs.