All Projects → miyagawa → Heroku Buildpack Perl

miyagawa / Heroku Buildpack Perl

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

Programming Languages

shell
77523 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].