<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Sure I’m more then happy to contribute this to the documentation. Uhmm… what is the procedure for this.. do you have a link or address where I can add/update this info?</div><div><br></div><div><div><br></div><div><div><div>On 16 dec. 2013, at 14:28, sawyer x <<a href="mailto:xsawyerx@gmail.com">xsawyerx@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Would you like to contribute this to the documentation?<br><br>I'm sure a poor fellow trying to accomplish the same would appreciate you pitching in the solution after hammering your head on it. :)<br></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 2:11 PM, Gert van Oss <span dir="ltr"><<a href="mailto:gertvanoss@me.com" target="_blank">gertvanoss@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Deploying of a Dancer demo app to heroku works fine with Perloku (<a href="https://github.com/judofyr/perloku" target="_blank">https://github.com/judofyr/perloku</a>). I’ll mention the steps below. Haven’t had any succes with Dancer2 yet.<div>

<br></div><div>Steps Dancer to Heroku</div><div><br></div><div><div>    Dancer -a Dancer1_To_Heroku </div><div>    cd Dancer1_To_Heroku/</div><div><br></div><div>Save the following in a file named *Perloku*</div><div><br>

</div><div>    #!/bin/sh</div><div>    ./bin/<a href="http://app.pl/" target="_blank">app.pl</a> daemon --port=$PORT</div><div><br></div><div>Make *Perloku* executable</div><div><br></div><div>    chmod +x Perloku</div><div>

<br></div><div>Create Git repository: `git init`</div><div><br></div><div>    git add .</div><div>    git commit -m "initial import"</div><div>    heroku create -s cedar --buildpack <a href="http://github.com/judofyr/perloku.git" target="_blank">http://github.com/judofyr/perloku.git</a></div>

<div>    git push heroku master</div></div><div><br></div><div>Voilà. A dancer site.</div><div><div class="h5"><div> </div><div><br><div><div>On 15 dec. 2013, at 23:07, Gert van Oss <<a href="mailto:gertvanoss@me.com" target="_blank">gertvanoss@me.com</a>> wrote:</div>

<br><blockquote type="cite"><div style="word-wrap:break-word">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:<div><br></div><div><a href="https://github.com/dpiccone/perloku_dancer_seedapp" target="_blank">https://github.com/dpiccone/perloku_dancer_seedapp</a></div>

<div><br></div><div>Haven’t got it to work for a demo-app. I seem to link the wrong <a href="http://app.pl/" target="_blank">app.pl</a> or app-dir indeed.</div><div><br></div><div>Gert</div><div><br><div><div>On 15 dec. 2013, at 23:02, WK <<a href="mailto:wanradt@gmail.com" target="_blank">wanradt@gmail.com</a>> wrote:</div>

<br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/12/15 Gert van Oss <span dir="ltr"><<a href="mailto:gertvanoss@me.com" target="_blank">gertvanoss@me.com</a>></span><br>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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.<div>


<br></div></div></blockquote></div><div><br></div><div>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.</div>


<div><br></div>-- </div><div class="gmail_extra">Wbr<br>Kõike hääd,<br><br>Gunnar</div></div>
_______________________________________________<br>dancer-users mailing list<br><a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>

</blockquote></div><br></div></div>_______________________________________________<br>dancer-users mailing list<br><a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>

</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>dancer-users mailing list<br><a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br></blockquote></div><br></div></div></body></html>