[dancer-users] dancer deployment with chef - psgi cookbook

Alexey Melezhik melezhik at gmail.com
Fri Apr 19 09:23:08 BST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130419/3fc64ce2/attachment.htm>


More information about the dancer-users mailing list