3 | | The server name is jupiter2.raidtech.net and the static IP is 104.236.89.124. The domain name wiki.raidtech.net takes you to the same server and is directed to the Wiki virtual host. So users can access the server here: |
4 | | * ssh://jupiter2.raidtech.net |
5 | | * https://jupiter2.raidtech.net:20000 |
6 | | * http://wiki.raidtech.net/login |
| 3 | The server name is jupiter2.team2537.com and the static IP is 104.236.89.124. The domain name wiki.team2537.com takes you to the same server and is directed to the Wiki virtual host. So users can access the server here: |
| 4 | * ssh://jupiter2.team2537.com |
| 5 | * https://jupiter2.team2537.com:20000 |
| 6 | * http://wiki.team2537.com/login |
39 | | Subversion is used for version control; the repositories are stored in /home/svn. Repositories are accessed securely from subversion clients (such as !NetBeans) using the URL: |
40 | | * svn+ssh://jupiter2.raidtech.net/home/svn/<repositoryname> |
41 | | Separate repositories are used for each sub-team that does not need to share code with other sub-teams (e.g. gameapp, sensors, etc.). Experiments should be done using the test repository. |
42 | | === Creating a repository: |
43 | | {{{ |
44 | | sudo svnadmin create /home/svn/myrepo |
45 | | sudo chown -R root:swdev /home/svn/myrepo/db |
46 | | sudo chmod -R g+w /home/svn/myrepo/db |
47 | | sudo chown -R root:swdev /home/svn/myrepo/locks |
48 | | sudo chmod -R g+w /home/svn/myrepo/locks |
49 | | }}} |
50 | | After creating a repository, add it to Trac using the [http://wiki.raidtech.net/admin/versioncontrol/repository web interface]. If there is data in the repository already, you may need to execute the following command: |
51 | | {{{ |
52 | | sudo trac-admin /var/local/trac repository resync "myrepo" |
53 | | }}} |
54 | | You may also need to add a post-commit hook in the repository to call: |
55 | | {{{ |
56 | | trac-admin /var/local/trac changeset added "myrepo" $REV |
57 | | }}} |
58 | | For more information see: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html |
59 | | |
60 | | === Adding a project |
61 | | To create a project within a repository using the command line, on your local computer: |
62 | | * create project dir myproj w/sub-dirs: tags, branches, trunk |
63 | | * create/copy your project under myproj/trunk (see example helloc project in test repository) |
64 | | * cd myproj |
65 | | * svn import !svn+ssh://jupiter2.raidtech.net/<repositoryname> -m "initial import" |
66 | | You can also usually create projects using the subversion client in your IDE. |
| 39 | Git is used for version control. |