[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Website release

From: John Browne <jkbrowne_at_gmail.com>
Date: 2005-01-14 17:28:54 CET

We use subversion to manage our sites, development and production. On
the production webserver we have a working copy of the production
sites checked out into their respective htdocs dirs (.svn folders
denied in httpd.conf). We have a cron job set up on the server that
runs an "svn update" every 15 minutes. On the development server, we
do the same thing, but for the development branch of each site. The
programmers work off their own local working copies, then commit their
changes when they are ready. They make it to the respective server at
the next 15-minute interval.

We have been using this system for a-while now, and it seems to work
well for us. Your mileage may vary.

On Fri, 14 Jan 2005 11:02:05 -0500 (EST), David Kramer
<david@thekramers.net> wrote:
> On Tue, 11 Jan 2005, Kristian Hebert wrote:
>
> > Hello everyone,
> >
> > I hope this is the right mailinglist for my question.
> >
> > I was just wondering if there is any way to "release" a version of my
> > website to the server? I have all the files in svn, and I'm running the
> > webserver on the same server.
> > I guess I could log into the server and checkout all the files whenever I
> > want to release, but that seems very cumbersome, espesially if I want to
> > release to a testsite first. I haven't found anything in the manual or the
> > FAQ.
> > Am I blind? Or am I missing the obvious?
>
> Our web server points to a Subversion working copy of our website. I just
> implemented a php page this week to do an svn update. I just go to that
> page, it runs the svn update in $DOCUMENT_ROOT/.. , and prints the output
> and return value. No need to ssh in. Just remember to tell your
> webserver to hide .svn directories.
>
> If you don't want to do this, you can use the same basic technique to do
> an svn export.
> -------------------------------------------------------------------
> DDDD David Kramer http://thekramers.net
> DK KD
> DKK D
> DK KD Pretense and adversity are inversely proportional;
> DDDD Adversity reveals the true nature of all things.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 14 17:32:23 2005

This is an archived mail posted to the Subversion Users mailing list.