# svnadmin create repoPath
- this will create an empty repository.
- repoPath has to be a path to a folder, if that folder does not exists; new folder will be created.
Consider following examples.
# svnadmin create /usr/local/svn/clients/MyProject
or
# svnadmin create .
or
# svnadmin create .
First command will create a repository inside "/usr/local/svn/clients/MyProject" while the second command creates a repository in your current directory.
After creating the repository, you must alter access controls. For that open conf/svnserver.conf found inside newly created repository folder.
Common values to alter are;
anon-access
- access control for non authenticated users
- better to set it to none (anon-access = none)
auth-access
- access control for authenticated users
- will need set it to "read" or "write" (auth-access = read)