That's awesome! Could you write it up somewhere and I'll link to it on perlchef.com? How do you handle dependencies? On Fri, Apr 19, 2013 at 4:23 AM, Alexey Melezhik <melezhik@gmail.com> wrote:
Hi! I have created a chef cookbook to deploy various web applications with plackup/psgi and Dancer is among them. Anyone who deal with Dancer deployment can use it as follow:
psgi_application 'my application' do application_user 'user' application_home '/home/user/app/MyApplication' script '/home/user/app/MyApplication/scripts/my-dancer-app.psgi' operator 'Dancer' action 'install' end
This code will install dancer psgi application init script ready to use. Supported platforms are debian and ubuntu:
/etc/init.d/my-dancer-app start
/etc/init.d/my-dancer-app stop /etc/init.d/my-dancer-app restart
See more usage details on http://community.opscode.com/cookbooks/psgi
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-- David Golden <xdg@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg