[Melbourne-pm] Mojolicious deployment
myfwhite at gmail.com
Sun Oct 16 05:51:09 PDT 2011
Excellent. That, plus some offline pointers from Matt, should keep me busy.
Turns out my issues were really Apache rewrite ones. I've just had a look at
Starman documentation, and it seems great. I think the approach you've
outlined should solve some of the other issues I was having.
*Phone: *0413 757 052*
Email:* myfwhite at gmail.com
On Sun, Oct 16, 2011 at 11:08 PM, Toby Wintermute <tjc at wintrmute.net> wrote:
> Hi Myf,
> Happy to chat more about this, but just some initial pointers..
> 1) Install Starman from CPAN, and try and use that to get your app
> running inside it, on an arbitrary port, inside your own home
> 2) Now create a new dedicated user on the system, and copy your
> application into its home directory, and get all the files owned by
> it. Then, as that user, check that you can again get it running via
> Make a little shell script that includes all the right parameters to
> start it up.
> 3) Look into how to use init scripts or runit scripts to run that
> shell script as that particular user, automatically on start-up.
> 4) set up apache, varnish, nginx or lighttpd to simply proxy requests
> from port 80 over to the arbitrary port starman is running on.
> ideally, do some caching too. I suggest Varnish, out of the above
> options, but all of them can be used successfully.
> On 16 October 2011 20:15, Myf White <myfwhite at gmail.com> wrote:
> > Hi guys & girls,
> > I am having some major problems getting my head around some stuff to do
> > deploying a Mojolicious app. It's not all Mojolicious related (some of it
> > basic networking / apache / permissions etc) and I'm really struggling to
> > work it out, partly because my confusion is so great that I can't even
> > express my questions properly.
> > I was hoping that one of you had enough knowledge of Apache & Plack to
> > chat to me for about 20 mins to talk through it and give me some
> > If so, that would be awesome and I would totally owe you a pint of your
> > choice of beverage at the next pm meeting!
> > Cheers,
> > Myf White
> > Phone: 0413 757 052
> > Email: myfwhite at gmail.com
> > _______________________________________________
> > Melbourne-pm mailing list
> > Melbourne-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/melbourne-pm
> Turning and turning in the widening gyre
> The falcon cannot hear the falconer
> Things fall apart; the center cannot hold
> Mere anarchy is loosed upon the world
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Melbourne-pm