CentOS 7 - Subversion Setup - svnserve

# yum install subversion
# mkdir /var/svn
# svnadmin create /var/svn
# cd /var/svn/conf
# vim svnserve.conf
[general]
password-db = passwd
realm = Repo

# vim passwd
[users]
user = secretpassword

# chmod 600 passwd
# systemctl start svnserve
# systemctl enable svnserve

$ mkdir ~/trunk
$ echo "test file" > ~/trunk/file.txt
$ svn import ~/trunk svn://localhost:3690/project_name/trunk -m "Initial commit" --username user
$ mkdir ~/test_checkout_directory
$ cd ~/test_checkout_directory
$ svn co svn://localhost:3690/project_name/trunk .