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

RE: Want to set up SVN for a web app

From: Giulio T <giulio.troccoli_at_uk.linedata.com>
Date: Wed, 1 Apr 2009 15:16:26 +0100

> -----Original Message-----
> From: Theodore H. Smith [mailto:delete_at_elfdata.com]
> Sent: 01 April 2009 15:11
> To: Giulio Troccoli
> Cc: users_at_subversion.tigris.org
> Subject: Re: Want to set up SVN for a web app
>
>
> On 1 Apr 2009, at 14:56, Giulio Troccoli wrote:
>
> >
> >
> >>
> >
> >
> > Linedata Services (UK) Ltd
> > Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London,
> > E1 6DB
> > Registered in England and Wales No 3027851 VAT Reg No 778499447
> >
> > -----Original Message-----
> >
> >
> >> From: Theodore H. Smith [mailto:delete_at_elfdata.com]
> >> Sent: 01 April 2009 14:45
> >> To: users_at_subversion.tigris.org
> >> Subject: Want to set up SVN for a web app
> >>
> >> Hi everyone,
> >>
> >> So I want to set up SVN for a website. This website has a
> lot of php,
> >> perl, java, javascript, and swf...
> >>
> >> I've never used SVN before. I am really confused as where to start.
> >>
> >> We have multiple developers. And each developer mostly is
> working on
> >> separate projects that "link" together. Does that mean I need
> >> multiple repositories?
> >>
> >> Also, we cannot make the entire website into the svn repository,
> >> because there are hundreds of thousands of user generated
> files lying
> >> around!
> >>
> >> I'm thinking we need multiple repositories.
> >>
> >> So, what would our steps be?
> >>
> >> 1) Install SVN (done)
> >>
> >> 2) Make repositories for what folders, where? What command
> do I use?
> >> Will I risk deleting my source code? or what do I do?
> >>
> >> Let's say my source code is at /web/theo/ but there are also other
> >> source code at /web/fred and another at /web/harry/
> >>
> >> what do I do?
> >>
> >> And then step 3?
> >>
> >> 3) How do I work with this thing? What files do I edit,
> and where? On
> >> my local computer? On the live server? And once my changes are
> >> complete, then what?
> >>
> >> As these are web app files, I generally want to edit my
> files in some
> >> kind of testing area on a server. But I also like to have
> the files
> >> downloaded to my computer for local editing. I kind of
> like to freely
> >> switch between the two, not worrying too much as long as I
> remember
> >> which one (on my computer or on the testing area on the server) is
> >> the most recent, then I can copy them across appropriately.
> >>
> >> Also, I tend to do my work by editing the file using Transmit for
> >> Mac, and a plain text editor. This is handy Transmit polls a local
> >> copy of a file downloaded from the server. Once it has
> found changes,
> >> it uploads the file back to the server!
> >> So basically this means Transmit allows ANY app to edit
> any file on
> >> my server, transparently! No need to worry about uploading,
> >> permissions, paths, passwords or any wierd stuff.
> >> Just edit with my favourite app, and away I go.
> >>
> >> Will SVN interfere with that?
> >>
> >
> > I very strongly suggest you start reading the fine book
> > http://svnbook.red-bean.com/
>
>
> Hi Guilio,
>
> there are 407 pages in that book.
>
> Also, many pages I simply cannot understand, and so it may
> take me 20 minutes to understand one page.
>
> You could say "well thats why you should read the book in
> order to get the answers", however there are many things that
> I don't need to read.
> But I can't understand what I do or don't need to read if I
> can't understand the material.
>
> Also, by the time I've read a few pages, it really makes no
> difference to me, because I haven't been able to implement
> any of it. So what if I've read about "svn import" or some
> other command? Unless I try it I can't understand it. But how
> can I try it unless I read the entire book first? Or else
> I'll get stuck on the next step after the import, and get
> myself in a muddle, because I missed steps in my experimentation.
>
> What if the whole purpose of this, is simply to find out "is
> SVN what I need, or is there something else out there that is
> simpler and does everything I need?"
>
> Do I need to read an entire 407 page book, full of stuff I
> can't understand without experimenting and testing it for
> myself, which means I need to scan through the book to do the
> experiments because the ansewrs aren't all in one place... do
> all of that, just to figure out "is SVN for me"?
>
> Surely a helpful quick start few steps tailored for me is a
> better answer?

Althought I don't myself I know there are lots of people that use Subversion to menage website, so I would say that yes, Subversion may be what you're looking for.

You probably don't need to read the whole book to get you started. But reading the first couple of chapters (if I remember well) is crucial for you to understand how Subversion work. Without that you will not be able to understand what to do with it.

You said you have already installed Subversion. Then you can create a test repository, do whatever you want to/with it and then simply delete the whole thing and start over again. Only when you're happy and confident with what you have learned you may think of implement whatever you need for your website.

Giulio

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1507434

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-01 16:23:36 CEST

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