Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (14 loc) · 1.23 KB

README.md

File metadata and controls

26 lines (14 loc) · 1.23 KB

heroku-openresty-buildpack - Get openresty (and Lua) running on Heroku

Most of the brains in this buildpack are shamelessly copied from Leafo's version, but it has some differences:

  • This buildpack uses openresty directly, rather than a buildpack that installs lua, and then using a template for your project

  • This builds Openresty and LuaRocks from source, so in some sense it's easier to update when there are new releases

Usage of the buildpack itself is pretty straighforward:

heroku buildpack:set https://github.com/geoffleyland/heroku-buildpack-openresty

Actually getting things to work takes a little longer - it's easier to use this project template.

Issues

  • It'd be nice to build LuaJIT from source (2.1 head?) too, rather than use the one in OpenResty
  • It'd be nice to version the things left in the cache so that old versions can be deleted when they're out of date

Alternatives