mojolicious-command-deploy-heroku
mojolicious-command-deploy-heroku copied to clipboard
One-step deployment of Mojolicious apps to Heroku
=pod
=head1 NAME
Mojolicious::Command::deploy::heroku - Deploy to Heroku
=head1 USAGE
script/my_app deploy heroku [OPTIONS]
# Create new app with randomly selected name and deploy
script/my_app deploy heroku --create
# Create new app with randomly selected name and specified api key
script/my_app deploy heroku --create --api-key 123412341234...
# Deploy app (new or existing) with specified name
script/my_app deploy heroku --name happy-cloud-1234
These options are available:
-n, --appname
=head1 DESCRIPTION
LMojolicious::Command::deploy::heroku deploys a Mojolicious app to Heroku.
NOTE The deploy command itself works on Windows, but the Heroku service does not reliably accept deployments from Windows. Your mileage may vary.
NOTE This release works with Mojolicious versions 4.50 and above. For older Mojolicious versions, please use 0.10 or before.
=head1 WORKFLOW
=over 4
=item 1) B<Heroku Service>
Lhttps://api.heroku.com/signup
=item 2) B<Generate Mojolicious app>
mojo generate lite_app hello
=item 3) B<Deploy>
hello deploy heroku --create
The deploy command creates a git repository of the B<current directory's contents> in /tmp, and then pushes it to a remote heroku repository.
=back
=head1 SEE ALSO
Lhttps://github.com/tempire/mojolicious-command-deploy-heroku, Lhttps://github.com/tempire/perloku, Lhttp://heroku.com/, Lhttp://mojolicio.us
=head1 SOURCE
Lhttp://github.com/tempire/mojolicious-command-deploy-heroku
=head1 VERSION
0.22
=head1 AUTHOR
Glen Hinkle C[email protected]
=head1 CONTRIBUTORS
MattOates
briandfoy
=cut