[Dancer-users] perl dance multiple hosting @dotgeek

gurugeek gurugeekphp at gmail.com
Wed Aug 15 21:29:35 CEST 2012


Gordon has been kind enough to test the system and everything works fine
apparently (http://gordon.2.ai)
question: do dancer developers usually develop locally and can then drop
their app in our free hosting via SFTP or is SSH access a must (I don't see
how thou as other services just give git push to deploy)  just thought i
would ask before running more tests :)
Best Regards
David


> >>
> >>
> >> On Tue, Aug 14, 2012 at 9:35 PM, Assaf Gordon <gordon at cshl.edu <mailto:
> gordon at cshl.edu>> wrote:
> >>
> >>     Hello David,
> >>
> >>     I'd be happy to test it, I can put my dancer+bootstrap+fontawesome
> template ( http://cowbell.cancan.cshl.edu ) as an example.
> >>
> >>     -gordon
> >>
> >>
> >>     gurugeek wrote, On 08/14/2012 03:26 PM:
> >>     > okay I found my own answer :)
> >>     > all is needed is mod_perl and Plack !
> >>     > Test is live at http://dancer.2.ai
> >>     > this is a simple test using a dancer self-contained one file app
> (using the tutorial from the advent calendar).
> >>     >
> >>     > Dave I would be thankful if you and/or others would be willing to
> test it with some other code. If you email me directly I will be glad to
> give you the SFTP login/pw.
> >>     > Best Regards
> >>     > David
> >>     >
> >>     >
> >>     >
> >>     > On Tue, Aug 14, 2012 at 7:26 PM, gurugeek <gurugeekphp at gmail.com<mailto:
> gurugeekphp at gmail.com> <mailto:gurugeekphp at gmail.com <mailto:
> gurugeekphp at gmail.com>>> wrote:
> >>     >
> >>     >     or actually I just need
> >>     >     mod_perl  and Plack::Handler::Apache2
> >>     >     as per :
> >>     >
> http://lists.perldancer.org/pipermail/dancer-users/2010-August/000199.html
> >>     >
> >>     >     ?
> >>     >
> >>     >     I was confused as the mod_apache is still listed in the plack
> website :)
> >>     >
> >>     >
> >>     >     On Tue, Aug 14, 2012 at 11:24 AM, David Precious <
> davidp at preshweb.co.uk <mailto:davidp at preshweb.co.uk> <mailto:
> davidp at preshweb.co.uk <mailto:davidp at preshweb.co.uk>>> wrote:
> >>     >
> >>     >         On Mon, 13 Aug 2012 20:01:30 +0200
> >>     >         gurugeek <gurugeekphp at gmail.com <mailto:
> gurugeekphp at gmail.com> <mailto:gurugeekphp at gmail.com <mailto:
> gurugeekphp at gmail.com>>> wrote:
> >>     >
> >>     >         > hello,
> >>     >         > we are finalising a totally free hosting service for
> programmers (
> >>     >         > dotgeek.org <http://dotgeek.org> <http://dotgeek.org>).
> We used to run this in 2004-2005 with PHP 5 etc. and we
> >>     >         > are now trying to extend the service to offer, in
> addition to PHP,
> >>     >         > MySQL and Ruby (Sinatra, Camping) with Dancer.
> >>     >         >
> >>     >         > I did try it yesterday and today and I think it is very
> interesting
> >>     >         > and we would like to add support for dancer.
> >>     >
> >>     >         That's awesome - I'll be happy to provide whatever help I
> can.
> >>     >
> >>     >
> >>     >         > I have a quick question regarding the best solution for
> a multiple
> >>     >         > hosting environment (we are using apache with a and we
> have a proper
> >>     >         > security system in place). According to your deployment
> guide the
> >>     >         > PSGI + Apache setup will require the application URL in
> the vhost
> >>     >         > configuration
> >>     >         >
> >>     >         > PerlSetVar psgi_app /websites/myapp.example.com/app.pl<
> http://myapp.example.com/app.pl> <http://myapp.example.com/app.pl>
> >>     >         >
> >>     >         > this might be an issue if the user rename the
> application. In sinatra
> >>     >         > with a passenger  deployment (aka mod_ruby) you can
> define a full
> >>     >         > public folder and through the config.ru <
> http://config.ru> <http://config.ru> file, that is easier to edit
> >>     >         > from the users that will have only SFTP access, you
> define which
> >>     >         > application you wish to run.
> >>     >         >
> >>     >         > Is there a similar option with Dancer or there is a
> need to declare
> >>     >         > the app name in the apache vhost configuration ?
> >>     >
> >>     >         You could probably set up e.g. /home/$username/app.pl <
> http://app.pl> <http://app.pl> or similar which
> >>     >         they can edit, which loads the appropriate app; they
> could edit that to
> >>     >         choose which app to load, perhaps?
> >>     >
> >>     >         Or use some Apache trickery to extract a subdomain from
> the query and
> >>     >         use that as the path, as people often do with mass
> name-based virtual
> >>     >         hosting, so e.g. app1.user.dotgeek.org <
> http://app1.user.dotgeek.org> <http://app1.user.dotgeek.org> is
> /home/$user/$app1/bin/app.pl <http://app.pl> <http://app.pl>
> >>     >         etc - that way they could just upload a new app and hit
> >>     >         $appname.$user.dotgeek.org <http://user.dotgeek.org> <
> http://user.dotgeek.org> or similar and have it Just Work (in theory).
> >>     >
> >>     >         > I would also welcome any feedback about this service
> that will
> >>     >         > essentially offer dancer + mysql + sqlite totally free.
> Do you think
> >>     >         > it would be interested and help users to get started ?
> >>     >
> >>     >         Certainly - the ability for a user to try out their first
> Dancer app
> >>     >         for free without having to install stuff is likely to be
> of use to
> >>     >         people I think.  This is something I sort of toyed with
> the idea of
> >>     >         trying to offer myself, but I decided I didn't have the
> time to
> >>     >         implement it in a secure enough way and manage it closely
> enough to
> >>     >         limit abuse etc (and to deal with the users, who from
> past experience
> >>     >         will expect the moon on a stick, even though they're not
> paying a
> >>     >         penny...)
> >>     >
> >>     >         I note you've got reCAPTCHA which should keep out some
> users though, as
> >>     >         it's become almost unusable these days :)
> >>     >
> >>     >         Anyway - I, and the other Dancer core devs, will be happy
> to provide
> >>     >         whatever assistance we can to you in order to get Dancer
> support into
> >>     >         dotgeek.org <http://dotgeek.org> <http://dotgeek.org>.
> >>     >
> >>     >         Cheers!
> >>     >
> >>     >         Dave P
> >>     >
> >>     >         --
> >>     >         David Precious ("bigpresh") <davidp at preshweb.co.uk<mailto:
> davidp at preshweb.co.uk> <mailto:davidp at preshweb.co.uk <mailto:
> davidp at preshweb.co.uk>>>
> >>     >         http://www.preshweb.co.uk/     www.preshweb.co.uk/twitter<
> http://www.preshweb.co.uk/twitter> <http://www.preshweb.co.uk/twitter>
> >>     >         www.preshweb.co.uk/linkedin <
> http://www.preshweb.co.uk/linkedin> <http://www.preshweb.co.uk/linkedin>
>    www.preshweb.co.uk/facebook <http://www.preshweb.co.uk/facebook> <
> http://www.preshweb.co.uk/facebook>
> >>     >         www.preshweb.co.uk/cpan <http://www.preshweb.co.uk/cpan>
> <http://www.preshweb.co.uk/cpan>        www.preshweb.co.uk/github <
> http://www.preshweb.co.uk/github> <http://www.preshweb.co.uk/github>
> >>     >
> >>     >
> >>     >         _______________________________________________
> >>     >         Dancer-users mailing list
> >>     >         Dancer-users at perldancer.org <mailto:
> Dancer-users at perldancer.org> <mailto:Dancer-users at perldancer.org <mailto:
> Dancer-users at perldancer.org>>
> >>     >
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
> >>     >
> >>     >
> >>     >
> >>
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20120815/e7da45a0/attachment.htm>


More information about the Dancer-users mailing list