Maybe it's just me, but automatically reflect every svn commit to a
production app does not sound like a great idea either...



On Thu, Feb 5, 2009 at 3:33 PM, Frederick Cheung <[email protected]
> wrote:

>
>
> On 5 Feb 2009, at 14:45, Billee D. wrote:
>
> >
> > There is really no "automatic" way to update the working copy on your
> > server. But, if you have SSH you can update your repo, login to your
> > server over SSH, and in the root directory you have under version
> > control type this command:
>
> You could have a commit hook. Restarting your production app every
> time you commit a change doesn't sound like a great idea though
>
> Fred
> >
> >
> > svn update
> >
> > You should see some files fly by you with your recently changed files.
> > Then you need to restart your server. This differs depending on the
> > web server you use (and various modules like mod_rails). For example,
> > if I'm using Passenger I just need to type the following at the
> > command line to restart the server instance(s):
> >
> > touch tmp/restart.txt
> >
> > And then hit your site in a web browser. That should be it.
> >
> > However, like MaD pointed out, if you used Capistrano all of this
> > would be done with one simple Rake task. Capistrano is really the way
> > to go if you want to perform as few steps as possible to deploy/
> > redeploy your Rails app.
> >
> >
> > On Feb 5, 1:34 am, Ankit Parekh <[email protected]>
> > wrote:
> >> Hi all
> >>
> >> Here is the thing that I want to do. What I want is that As soon as I
> >> commit the changes to my svn which resides on beanstalk i want those
> >> changes to get reflected to my website too.
> >>
> >> Can any one tell me a step by step process to do it? Or provide me a
> >> link for the same.
> >>
> >> Thanks
> >> --
> >> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to