Saturday, September 27, 2014

Deploying Catalyst apps to Heroku

catalyst.pl Hastu
cd Hastu/
# this is important
mv hastu.psgi app.psgi
# need to edit app.psgi here
git add .
git init && git add .
git commit -m "first commit"
git remote add origin https://github.com/simonecesano/Hastu.git
cpanm --installdeps .
heroku apps:create hastu --stack cedar --buildpack https://github.com/miyagawa/heroku-buildpack-perl.git
git push -u origin master
git push heroku master