On Sat, 28 Oct 2006 09:34:22 +0800
"Michael Roper" <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> Just wondering if anyone can give me some recommendations + pointers
> on the best way to get Rails and Radiant running on a clients new
> webserver. I'm fairly new to the rails stuff, this Radiant site is the
> first thing I've done with rails, so I'm a bit of a noob when it
> comes to installing rails, etc.
>
> I have been developing their site locally on my iMac using Locomotive
> + Lighttpd + MySQL, but their server is a Dell running a recent Fedora
> Core. I know it has Apache+PHP+MySQL on it, but they have given me
> access to install whatever I need. The server will probably only be
> running the one Rails/Radiant site.
I really recommend the use of lighttpd and FastCGI. It's almost
trivial to set up.
I use the spawn-fcgi program to start the rails app with the user's
permissions, then just point lighttpd to the socket file I create. The user
that lighttpd runs under will need wr access to that socket.
If you want, I can send you the little ruby script I use to spawn the
fcgi process and a snippet of my lighttpd config. This is the only
configuration I have been happy with.
--TimH
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant