1. svnadmin create ~/repository
2. svnserve -d -r ~/repository
3. svn checkout file://~/repository $WORKING_DIR
4. cd $WORKING_DIR
5. svn add your files to svn repository.