Topic: How can i run a test an existing RoR website locally
I am new in RoR and I want to make some changes on an existing website that i admin.
The web site is in production using :
Ruby on Rails 2.3.x With MySQL,
Apache + Passenger
What i want is to copy the whole website + the connection string and test it locally on my machine in order to be able to do mods with zero risk.
So far i have installed the following on my machine (UBUNTO 10) :
ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]
Server version: Apache/2.2.16 (Ubuntu)
Phusion Passenger version 3.0.2
Is there a best way to copy the website and paste it locally into my machine and how can i identify the connection strings and change them to pin point the local dbs & tables ?
Or is there any other alternate option ?