Hi, SVN I have recently put my project on Google Code. I didn''t want to put the database.yml in the SVN repository, as it contains my production server db password. I put a "database.yml.template" on the public svn and kept a non managed customized local file "database.yml". I''d like to hear how you manage that issue when putting your code on a public SVN repository ? Capistrano Now I am trying Capistrano. Capistrano is seems to not doing a (incremental) update, but a full checkout of the site when deploying a new version. The problem is that it checks out the database.yml.template file. What task I need to change so after the full checkout, the correct database.yml is copied from a backup ? Thanks for your pointers, Mickael. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Mickael,> I put a "database.yml.template" on the public svn and kept a non > managed customized local file "database.yml". > I''d like to hear how you manage that issue when putting your code on a > public SVN repository ?Seems like the Right Way.> Capistrano is seems to not doing a (incremental) update, but a full > checkout of the site when deploying a new version. The problem is that > it checks out the database.yml.template file. > What task I need to change so after the full checkout, the correct > database.yml is copied from a backup ?Check out: http://www.jvoorhis.com/articles/2006/07/07/managing-database-yml-with-capistrano -- Roderick van Domburg http://www.nedforce.nl -- 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 -~----------~----~----~----~------~----~------~--~---
Great ! Thanks. Mickael. On Aug 9, 10:53 am, Roderick van Domburg <rails-mailing-l...@andreas- s.net> wrote:> Hi Mickael, > > > I put a "database.yml.template" on the public svn and kept a non > > managed customized local file "database.yml". > > I''d like to hear how you manage that issue when putting your code on a > > public SVN repository ? > > Seems like the Right Way. > > > Capistrano is seems to not doing a (incremental) update, but a full > > checkout of the site when deploying a new version. The problem is that > > it checks out the database.yml.template file. > > What task I need to change so after the full checkout, the correct > > database.yml is copied from a backup ? > > Check out:http://www.jvoorhis.com/articles/2006/07/07/managing-database-yml-wit...--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---