Skip to content

geoffleyland/heroku-buildpack-openresty-template

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lua
 
 
 
 
 
 
 
 
 
 
 
 

heroku-openresty-buildpack-template

This is a template for using heroku-openresty-buildpack. Sorry for the mouthful of a name, but at least it's definitive.

Usage:

git clone https://github.com/geoffleyland/heroku-buildpack-openresty-template.git
cd heroku-buildpack-openresty-template
heroku apps:create hbo-template
heroku buildpacks:set https://github.com/geoffleyland/heroku-buildpack-openresty
git push heroku master

(you'll need to change the app name in heroku app:create hbo-template since I'm using hbo-template already)

It'll spend quite a while building LuaJIT, Openresty and LuaRocks, but then, with a bit of luck, you should be able to visit https://whateveryoucalledyourapp.herokuapp.com and see a word of your choice spelt backwards!

(At the moment, there's a version of this running at https://hbo-template.herokuapp.com)

What's there is just enough to show an index.html and have a little API.

You can persuade it to run locally as well, but you'll need to install all the parts, and have them in your path. I'll detail that later.

About

Template project for openresty on Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published