using RoR w/ Apache/MySQL already installed

Hi,

I already had the wamp server (Apache & php w/ mysql) installed and want to use RoR with it. I installed everything fine, but how do I get RoR to use the Apache server instead of starting the Webrick server that installed with it?

Also, is there any benefit to using sqlite over mysql in development since deployment will be using a mysql db? Seems like I'd have to go through a lot of trouble to migrate, so I should just develop in mysql. Correct?

Thanks!

Jay

p.s. If there's a more appropriate forum, please let me know. thanks:)

If you want to use Apache without having to install a proxy balancer such as mongrel or thin you can use mod_rails, it works pretty well. Here's the link http://www.modrails.com/

Thiago Jackiw wrote:

If you want to use Apache without having to install a proxy balancer such as mongrel or thin you can use mod_rails, it works pretty well. Here's the link http://www.modrails.com/

-- Thiago Jackiw http://www.railsfreaks.com

Hi,

Thanks for the reply. Forgive my ignorance, but what is a "proxy balancer"?

So, I don't know what mongrel is or what it means to proxy balance. Can you elaborate, or is there someplace that explains both what this means and how to do it?

I guess I don't really care if I use apache or webrick on my development machine, except that if I need to use php, webrick isn't going to cut it, is it? The production server is definitely Apache with mysql, though.

As I've never used RoR, I don't know what the process is, so I'm just trying to save myself a lot of grief later on.

Thanks!

Mongrel is another web/application server that can be used as a platform for Rails applications. The quote-unquote best practice for a Rails deployment architecture using mongrel is one or more Apache servers accepting requests from the web and proxying them to one or more mongrel servers on the second tier. Check out http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ for a good (albeit a little old) overview of this and other tools and their place within your environment.

Chris Kottom wrote:

Mongrel is another web/application server that can be used as a platform for Rails applications. The quote-unquote best practice for a Rails deployment architecture using mongrel is one or more Apache servers accepting requests from the web and proxying them to one or more mongrel servers on the second tier. Check out http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ for a good (albeit a little old) overview of this and other tools and their place within your environment.

On May 10, 8:54�am, Jay Wolfe <rails-mailing-l...@andreas-s.net>

Thanks for the replies. I will look these over and see what fits best.

Thanks again!

Jay