mamod / heroku-buildpack-perl

Heroku buildpack to run Perl/PSGI apps using Starman HTTP server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku buildpack: Perl

This is a Heroku buildpack that runs any PSGI based web applications using Starman.

Usage

Example usage:

$ ls
cpanfile
app.psgi
lib/

$ cat cpanfile
requires 'Plack', '1.0000';
requires 'DBI', '1.6';

$ heroku create --stack cedar --buildpack https://github.com/miyagawa/heroku-buildpack-perl.git

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Perl/PSGI app detected
-----> Installing dependencies

The buildpack will detect that your app has an app.psgi in the root.

Libraries

Dependencies can be declared using cpanfile (recommended) or more traditional Makefile.PL, Build.PL and META.json (whichever you can install with cpanm --installdeps), and the buildpack will install these dependencies using cpanm into ./local directory.

About

Heroku buildpack to run Perl/PSGI apps using Starman HTTP server


Languages

Language:Shell 100.0%