[dancer-users] deploy dancer via heroku - error while loading /app/app.psgi

Gert van Oss gertvanoss at me.com
Mon Dec 16 13:11:41 GMT 2013


Deploying of a Dancer demo app to heroku works fine with Perloku (https://github.com/judofyr/perloku). I’ll mention the steps below. Haven’t had any succes with Dancer2 yet.

Steps Dancer to Heroku

    Dancer -a Dancer1_To_Heroku 
    cd Dancer1_To_Heroku/

Save the following in a file named *Perloku*

    #!/bin/sh
    ./bin/app.pl daemon --port=$PORT

Make *Perloku* executable

    chmod +x Perloku

Create Git repository: `git init`

    git add .
    git commit -m "initial import"
    heroku create -s cedar --buildpack http://github.com/judofyr/perloku.git
    git push heroku master

Voilà. A dancer site.
 

On 15 dec. 2013, at 23:07, Gert van Oss <gertvanoss at me.com> wrote:

> For the moment I can’t answer the question yet. I’m experimenting. I did find the solution for a simple ‘hello world’ example in:
> 
> https://github.com/dpiccone/perloku_dancer_seedapp
> 
> Haven’t got it to work for a demo-app. I seem to link the wrong app.pl or app-dir indeed.
> 
> Gert
> 
> On 15 dec. 2013, at 23:02, WK <wanradt at gmail.com> wrote:
> 
>> 2013/12/15 Gert van Oss <gertvanoss at me.com>
>>  
>> I did ask the Heroku people and below I paste what they replied. I haven’t gotten any further with this. I choose Heroku as I used it for a few other things but maybe for using Dancer I should look for alternatives that have been mentioned on this list.
>> 
>> 
>> I tried to understand the directory structure in Heroku apps, but without success. What is app-dir? Is this symlink for your Dancer app root-dir? Or? Anyway, that seem still question to Heroku.
>> 
>> -- 
>> Wbr
>> Kõike hääd,
>> 
>> Gunnar
>> _______________________________________________
>> dancer-users mailing list
>> dancer-users at dancer.pm
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
> 
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131216/644fe3ff/attachment.html>


More information about the dancer-users mailing list