Monday, December 23, 2013

Re: [Rails] configuring rails app in LAMP or WAMP server

Why do you want configure Rails in a LAMP/WAMP server?

If you use Linux i'd recommend you to use Nginx + Unicorn:


On Mon, Dec 23, 2013 at 12:31 PM, James Turley <jamesturley1905@googlemail.com> wrote:
Breaking it down:

Linux/Windows: if you've successfully installed ruby and rails on your machine, job done.

Apache: standard way to get rails running on Apache is with mod_passenger. Detailed instructions here

I don't know how new you are to Rails: when I first tried Rails, I was coming at it from a very low-grade PHP background, and I made the mistake of trying to get rails running on Apache on my development set-up. If you're as green as I was back then, and this is what you're thinking, stop now: use the built-in development server for development, and worry about passenger when you're pushing to production. Apart from Apache configuration being a bit of a black art, using a production server on development will slow you right down - you'll be restarting Apache every time you change a line of code.

MySQL: easiest way is, when starting your project, use the command 'rails new myproject --database=mysql'. Then change the database.yml file with the MySQL user credentials.  

PHP: not necessary. Ever again. :-)


On Mon, Dec 23, 2013 at 12:24 PM, Gift Mfugale <mfugaleg@gmail.com> wrote:
Hello friends!
Is there anyone who knows how to configure a rails application  to run in a LAMP or WAMP server?
Please share with the guidelines
Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/64abd1f5-09c7-4d88-b77a-d9f2073f99ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAb4X%3DyYDjZTF3SPEWL0v9KE1kP7MbeOJeSvur5NOORP-qdFuQ%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
---
Nielson Rolim
nielson.rolim@gmail.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAE0%2BDi-05Xd8rxJXeRjtvQcfKPDaBhmy4O29o9_WtzLf0qfNoA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate