This is a Heroku buildpack that runs any PSGI based web applications using Starman.
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.
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.