Hello.. I am a rails newbie. What are the best ways to move rails application to another server, what should i check and do before that? Just copying the directory tree usually doesnt work for me. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Christos Zisopoulos
2006-Nov-14 11:26 UTC
Re: What is the best way to move rails application
It all depends on your current setup. Do you use Mongrel+Apache, LiteHTTPD or Webrick? If you use Apache as a proxy to your application server then you will need to copy any Apache virtual domain configuration files (or mongrel cluster files) and tinker with them to work on your new host. Are you using SQLite or a database server like MySQL/postgres? If you don''t use SQLite you will need to dump the database to a file an load it into the new database on the new host. Clear anything in the rails_app/tmp directory. -christos On 14 Nov 2006, at 12:03, Pablo wrote:> > Hello.. > > I am a rails newbie. What are the best ways to move rails > application to > another server, what should i check and do before that? Just > copying the > directory tree usually doesnt work for me. > > > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Christos Zisopoulos wrote:> It all depends on your current setup. > > Do you use Mongrel+Apache, LiteHTTPD or Webrick? If you use Apache as > a proxy to your application server then you will need to copy any > Apache virtual domain configuration files (or mongrel cluster files) > and tinker with them to work on your new host. > > Are you using SQLite or a database server like MySQL/postgres? If you > don''t use SQLite you will need to dump the database to a file an load > it into the new database on the new host. > > Clear anything in the rails_app/tmp directory. > > -christosi usually work on Mongrel+Apache (Windows XP). My database is always MYSQL. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Christos Zisopoulos
2006-Nov-14 11:52 UTC
Re: What is the best way to move rails application
On 14 Nov 2006, at 12:39, Pabloz wrote:> i usually work on Mongrel+Apache (Windows XP).I''ve never used Apache on XP but it should be a simple case of copying configuration files for apache over to the new host, and restarting the server.> My database is always MYSQL.Create a db with the same name then on the new host and then use ''mysqldump'' to dump from the old host and load it into the new one. Where does your app fail on the new host exactly? Do you have any errors in the logs? -christos --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---