Rails/Radiant Installation

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.

What I need to know is, what is the best setup to go with as far as
webservers, eg i have seen tutorials on getting Fedora running with
Apache2+FastCGI, or with Lighttpd. I have seen more recent articles
that say Mongrel is better than Lighttpd, but i haven’t seen tutorials
on getting Mongrel running on Fedora…

Any suggestions/technical information on the best way to approach
this? I realise this may be better directed at a more general Rails
list, but if there is a configuration that works good with Radiant,
that would be appreciated…

Also, once i get it running, what will be the best way to transfer my
development site to the new server?

Cheers, and thanks for any help…

Michael

On Sat, 28 Oct 2006 09:34:22 +0800
“Michael R.” [email protected] wrote:

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

Depending on the size of the site I’ve had pretty good
success just using mod_proxy with Apache. You just add
a few ProxyPass lines to the httpd.conf file to proxy
requests to your rails (Radiant) application running
Mongrel on another port (3000 for example). Works
pretty easy.

http://mongrel.rubyforge.org/docs/apache.html

To transfer the development site to the production
server, I usually just FTP the contents to my
production server, run rake db:migrate to setup the
tables and then just mysqldump the data from the
development DB to the production one.

— Michael R. [email protected] wrote:

comes to installing rails, etc.

Any suggestions/technical information on the best

Cheers, and thanks for any help…

Michael


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:
http://lists.radiantcms.org/mailman/listinfo/radiant


Want to start your own business? Learn how on Yahoo! Small Business
(http://smallbusiness.yahoo.com)

On 10/28/06, Michael R. [email protected] wrote:

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.

Add my name to the list of happy mongrel users with an Apache
front-end using mod_proxy/mod_rewrite.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs