Would you like to contribute this to the documentation? I'm sure a poor fellow trying to accomplish the same would appreciate you pitching in the solution after hammering your head on it. :) On Mon, Dec 16, 2013 at 2:11 PM, Gert van Oss <gertvanoss@me.com> wrote:
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@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@gmail.com> wrote:
2013/12/15 Gert van Oss <gertvanoss@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@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users