To add a subversion repository searchcode server you will need to login to the admin screens (or to use the API). From there you can click API Keys and then "Repository Add". Follow the steps below.
1. Ensure that the svn client tools are installed. If you can run "svn help" then you are set. You will need to know the location of the svn binary as well. "which svn" should do this for you and for most Linux installs it will be /usr/bin/svn which is also the default value for the properties file
2. In the root directory of the searchcode server install you need to edit the searchcode.properties file and set the values like so
svn_enabled=true svn_binary_path=/usr/bin/svn # THIS SHOULD BE SET TO THE ACTUAL PATH OF SVN
3. Restart searchcode server to refresh the svn information.
4. Add a project as per the screenshot. Login to the admin page (default password is Adm1n234) click "Repository Add" and then fill in the details like below,
Repository Name = The name you want your repository to be known as. For tortise svn I would set the name as tortisesvn SCM = From the drop down select SVN Repository Location = The location of your SVN repository. If you want only trunk I would specify the specific folder EG https://svn.code.sf.net/p/tortoisesvn/code/trunk Repository Username = The username you wish to use that has read access Repository Password = The password for the above user Repository Source = This can be a HTTP link to a useful location, quite often can be the same as SCM Repository Branch = You can ignore this value for SVN
5. Then click "Add Repository"