I've read quite a bit of the Red Bean Software SVN Book, and some of the questions here on SO, but I want to make sure I'm going about this in the right way the first time around step-by-step before I begin using it. Is this correct?
- Install SVN.
Create SVN repository at /usr/local/svn. Directory structure looks like this:
-- conf -- db -- format -- hooks -- locks -- README.txt
Create folders through command line for repository organization (including projects and vendors).
-- conf -- db -- format -- hooks -- locks -- projects -- project_name -- vendor -- trunk -- branches -- tags -- project_name -- vendor -- trunk -- branches -- tags -- README.txt
Checkout vendor code into vendor folder under the correct project name.
- Export vendor code into trunk under the correct project name (no merge necessary, as I have no project trunk files yet).
- Create users/permissions in /svnroot/conf/passwd and /svnroot/conf/svnserve.conf.
- Make sure that svnserve is running, and on my local SVN client (TortoiseSVN), checkout the trunk for the project that I need.
I don't need to serve this up by public URL, so I'm not configuring for Apache. The server is not in our network, but is a dedicated CentOS box we rent. Thanks for any thoughts and advice.
EDIT:
I guess I'm confused because I don't have code or a project to begin with, so I am starting fresh from the vendor's code. Do I need to create a directory structure somewhere on the server that includes my project_name w/ vendor, trunk, branches and tags subfolders, import that into my repo, and then import the code from the vendor into the vendor folder? The idea is that I can get updates from the vendor, and then merge those updates with any changes I made to my trunk.