proclet - foreman for perl
$ cat Procfile memd: memcached -v -p 11211 plack: plackup -p 9022 -e 'sub { [200, [], ["OK"]] }' $ proclet start
proclet is foreman for perl, manages Procfile-based applications.
proclet does not support EXPORT yet.
proclet start is used to run your application directly from the command line.
The following options control how the application is run:
Display help message
The number of each process type to run. The value passed in should be in the format process=num,process=num
An alternate environment file. You can specify more than one file by using: --env file1,file2.
An alternate Procfile to load, implies -d at the Procfile root
Colored log
A Procfile should contain both a name for the process and the command used to run it.
web: bundle exec thin start job: bundle exec rake jobs:work
If a .env file exists in the current directory, the default environment will be read from it. This file should contain key/value pairs, separated by =, with one key/value pair per line.
FOO=bar BAZ=qux
If a .foreman file exists in the current directory, default options will be read from it. This file should be in YAML format with the long option name as keys. Example:
concurrency: alpha=0,bravo=1 color: 1
Masahiro Nagano <kazeburo {at} gmail.com>
Proclet, https://github.com/ddollar/foreman
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Proclet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Proclet
CPAN shell
perl -MCPAN -e shell install Proclet
For more information on module installation, please visit the detailed CPAN module installation guide.