Assume svn repository was created as normal:
$sudo svnadmin create /var/lib/svnroot
$sudo chown -R ubuntu /var/lib/svnroot
$sudo chmod -R g+rws svnroot
Then at client side:
$export SVN_EDITOR=vi
$export SVN_SSH="ssh -i /path/to/your.pem -l ubuntu"
$svn import myproject svn+ssh://ec2instancename.compute-1.amazonaws.com/var/lib/svnroot/myproject
No comments:
Post a Comment