Skip to content

Instantly share code, notes, and snippets.

@ysasaki
Created July 20, 2012 08:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysasaki/3149659 to your computer and use it in GitHub Desktop.
Save ysasaki/3149659 to your computer and use it in GitHub Desktop.
Dancer in heroku
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku$ dancer -a Foobar
The latest stable Dancer release is 1.3097, you are currently using 1.3095.
Please check http://search.cpan.org/dist/Dancer/ for updates.
+ Foobar
+ Foobar/bin
+ Foobar/bin/app.pl
+ Foobar/config.yml
+ Foobar/environments
+ Foobar/environments/development.yml
+ Foobar/environments/production.yml
+ Foobar/views
+ Foobar/views/index.tt
+ Foobar/views/layouts
+ Foobar/views/layouts/main.tt
+ Foobar/MANIFEST.SKIP
+ Foobar/lib
Foobar/lib/
+ Foobar/lib/Foobar.pm
+ Foobar/public
+ Foobar/public/css
+ Foobar/public/css/style.css
+ Foobar/public/css/error.css
+ Foobar/public/images
+ Foobar/public/500.html
+ Foobar/public/404.html
+ Foobar/public/dispatch.fcgi
+ Foobar/public/dispatch.cgi
+ Foobar/public/javascripts
+ Foobar/public/javascripts/jquery.js
+ Foobar/t
+ Foobar/t/002_index_route.t
+ Foobar/t/001_base.t
+ Foobar/Makefile.PL
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku$ cd Foobar/
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ ln -s ./bin/app.pl app.psgi
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ git init
Initialized empty Git repository in /home/ysasaki/devel/perl/dancer-heroku/Foobar/.git/
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ git add *
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ git commit -m 'initial commit'
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ heroku create --stack cedar --buildpack http://github.com/miyagawa/heroku-buildpack-perl.git
Creating thawing-gorge-6792... done, stack is cedar
BUILDPACK_URL=http://github.com/miyagawa/heroku-buildpack-perl.git
http://thawing-gorge-6792.herokuapp.com/ | git@heroku.com:thawing-gorge-6792.git
Git remote heroku added
ysasaki@vm-ubuntu:~/devel/perl/dancer-heroku/Foobar$ git push heroku master
Enter passphrase for key '/home/ysasaki/.ssh/heroku':
Counting objects: 35, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (35/35), 40.66 KiB, done.
Total 35 (delta 3), reused 0 (delta 0)
-----> Heroku receiving push
-----> Fetching custom buildpack... done
-----> Perl/PSGI app detected
-----> Bootstrapping cpanm
Successfully installed JSON-PP-2.27200
Successfully installed CPAN-Meta-YAML-0.008
Successfully installed Parse-CPAN-Meta-1.4404 (upgraded from 1.39)
Successfully installed version-0.99 (upgraded from 0.77)
Successfully installed Module-Metadata-1.000009
Successfully installed CPAN-Meta-Requirements-2.122
Successfully installed CPAN-Meta-2.120921
Successfully installed Perl-OSType-1.002
Successfully installed ExtUtils-CBuilder-0.280205 (upgraded from 0.2602)
Successfully installed ExtUtils-ParseXS-3.15 (upgraded from 2.2002)
Successfully installed Module-Build-0.4001 (upgraded from 0.340201)
Successfully installed App-cpanminus-1.5017
12 distributions installed
-----> Installing dependencies
Successfully installed ExtUtils-MakeMaker-6.62 (upgraded from 6.55_02)
Successfully installed YAML-0.84
Successfully installed Test-Simple-0.98 (upgraded from 0.92)
Successfully installed Try-Tiny-0.11
Successfully installed HTTP-Server-Simple-0.44
Successfully installed HTTP-Server-Simple-PSGI-0.14
Successfully installed URI-1.60
Successfully installed Test-Tester-0.108
Successfully installed Test-NoWarnings-1.04
Successfully installed Test-Deep-0.110
Successfully installed LWP-MediaTypes-6.02
Successfully installed Encode-Locale-1.03
Successfully installed HTTP-Date-6.02
Successfully installed HTML-Tagset-3.20
Successfully installed HTML-Parser-3.69
Successfully installed Compress-Raw-Bzip2-2.052 (upgraded from 2.020)
Successfully installed Compress-Raw-Zlib-2.054 (upgraded from 2.020)
Successfully installed IO-Compress-2.052 (upgraded from 2.020)
Successfully installed HTTP-Message-6.03
Successfully installed HTTP-Body-1.15
Successfully installed MIME-Types-1.35
Successfully installed HTTP-Negotiate-6.01
Successfully installed File-Listing-6.04
Successfully installed HTTP-Daemon-6.01
Successfully installed Net-HTTP-6.03
Successfully installed HTTP-Cookies-6.01
Successfully installed WWW-RobotRules-6.02
Successfully installed libwww-perl-6.04
Successfully installed Dancer-1.3097
29 distributions installed
-----> Installing Starman
Successfully installed Test-Requires-0.06
Successfully installed Hash-MultiValue-0.12
Successfully installed Devel-StackTrace-1.27
Successfully installed Test-SharedFork-0.20
Successfully installed Test-TCP-1.16
Successfully installed Class-Inspector-1.27
Successfully installed File-ShareDir-1.03
Successfully installed Filesys-Notify-Simple-0.08
Successfully installed Devel-StackTrace-AsHTML-0.11
Successfully installed Plack-1.0000
Successfully installed Net-Server-2.006
Successfully installed Net-Server-2.006
Successfully installed HTTP-Parser-XS-0.14
Successfully installed Data-Dump-1.21
Successfully installed Starman-0.3001
14 distributions installed
-----> Discovering process types
Procfile declares types -> (none)
Default types for Perl/PSGI -> web
-----> Compiled slug size is 2.7MB
-----> Launching... done, v4
http://thawing-gorge-6792.herokuapp.com deployed to Heroku
To git@heroku.com:thawing-gorge-6792.git
* [new branch] master -> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment