svn
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| svn [2016/05/21 17:52] – created javapimp | svn [2023/08/18 18:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== SVN ====== | ====== SVN ====== | ||
| ===== Create Server Repository ===== | ===== Create Server Repository ===== | ||
| + | |||
| + | Once SVN is installed on the server execute the following. | ||
| <code bash> | <code bash> | ||
| $ cd / | $ cd / | ||
| - | $ svnadmin create | + | $ svnadmin create |
| - | < | + | </code> |
| + | |||
| + | Change the owner of the repository directory and files. | ||
| + | |||
| + | <code bash> | ||
| + | $ chown -R www-data: | ||
| + | </ | ||
| + | |||
| + | Initialize the repository with the basic directory structure. For this I use a shell script '' | ||
| + | |||
| + | <code bash> | ||
| + | # | ||
| + | url=http:// | ||
| + | svn mkdir $url/ | ||
| + | </ | ||
| + | |||
| + | Update the '' | ||
| + | |||
| + | Run the command like this: | ||
| + | |||
| + | <code bash> | ||
| + | $ svninit repositoryname | ||
| + | </ | ||
| + | |||
| + | On the client, check out the new repository. I use TortoiseSVN so I created the directory, right click and select "SVN Checkout..." | ||
svn.1463853136.txt.gz · Last modified: 2023/08/18 18:15 (external edit)