1. Install Macports
2. Install subversion
sudo port install subversion
3. Start svn server
svnserve -d --listen-port 4000 -r /repository -T
4. Create repository
svnadmin create /repository/testPrograms
5. Configure repository
Edit /repository/testPrograms/conf/svnserve.conf
and uncomment
auth-access = write
password-db = passwd
Edit /repository/testPrograms/conf/passwd
and add users
[users]
Fakrudeen Ali Ahmed = mypassword
Now svn server is ready to serve the repository.
Create a client folder
and do
svn co svn://localhost:4000/testPrograms
and we are ready to use our repository!
No comments:
Post a Comment