<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter SYSTEM "../../../dtd/dblite.dtd">
<sect1 id="tsvn-serversetup">
  <title>Accessing the Repository</title>
  <para>
    To use TortoiseSVN (or any other Subversion client), you need a place where your
    repositories are located. You can either store your repositories locally and access
    them using the <literal>file://</literal> protocol or you can place them on a
    server and access them with the <literal>http://</literal> or
    <literal>svn://</literal> protocols.
    The two server protocols can also be encrypted.
    You use <literal>https://</literal> or <literal>svn+ssh://</literal>,
    or you can use <literal>svn://</literal> with SASL.
  </para>
  <para>
    If you are using a public hosting service such as
    <ulink url="https://sourceforge.net">
      <citetitle>SourceForge</citetitle>
    </ulink>
    or your server has already been setup by someone else then there is
    nothing else you need to do. Move along to <xref linkend="tsvn-dug"/>.
  </para>
  <para>
    If you don't have a server and you work alone, or if you are just evaluating
    Subversion and TortoiseSVN in isolation, then local repositories are
    probably your best choice. Just create a repository on your own PC as
    described earlier in <xref linkend="tsvn-repository"/>. You can skip the
    rest of this chapter and go directly to <xref linkend="tsvn-dug"/> to find
    out how to start using it.
  </para>
  <para>
    If you were thinking about setting up a multi-user repository on a network
    share, think again. Read <xref linkend="tsvn-repository-local-share"/>
    to find out why we think this is a bad idea. Setting up a server is not as
    hard as it sounds, and will give you better reliability and probably speed too.
  </para>
  <para>
    More detailed information on the Subversion server options, and how
    to choose the best architecture for your situation, can be
    found in the Subversion book under
    <ulink url="https://svnbook.red-bean.com/en/1.8/svn.serverconfig.html">
      <citetitle>Server Configuration</citetitle>
    </ulink>.
  </para>
  <para>
    In the early days of Subversion, setting up a server required a good understanding
    of server configuration and in previous versions of this manual we included
    detailed descriptions of how to set up a server. Since then things have become
    easier as there are now several pre-packaged server installers available which
    guide you through the setup and configuration process. These links are for
    some of the installers we know about:
    <itemizedlist>
      <listitem>
        <ulink url="https://www.visualsvn.com/server/">
          <citetitle>VisualSVN</citetitle>
        </ulink>
      </listitem>
      <listitem>
        <ulink url="https://www.collab.net/products/subversion">
          <citetitle>CollabNet</citetitle>
        </ulink>
      </listitem>
    </itemizedlist>
    You can always find the latest links on the
    <ulink url="https://subversion.apache.org/packages.html">
      <citetitle>Subversion</citetitle>
    </ulink>
    website.
  </para>
  <para>
    You can find further How To guides on the
    <ulink url="https://tortoisesvn.net/usefultips.html">
      <citetitle>TortoiseSVN</citetitle>
    </ulink>
    website.
  </para>
</sect1>
