Version 4 (modified by 10 years ago) (diff) | ,
---|
The software team uses a cloud-server hosted at DigitalOcean. The server runs Ubuntu 14.04 linux and has 512MB RAM and 20GB storage.
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:
Administration can be performed by command line (SSH) or via Webmin
Adding a new student:
sudo adduser <username> sudo usermod -a -G swdev <username> cd /var/local/trac sudo htpasswd .htpasswd <username> sudo trac-admin /var/local/trac permission add <username> swdev
Adding a new mentor:
sudo adduser <username> sudo usermod -a -G swmentors <username> sudo usermod -a -G swdev <username> sudo usermod -a -G sudo <username> cd /var/local/trac sudo htpasswd .htpasswd <username> sudo trac-admin /var/local/trac permission add <username> TRAC_ADMIN or Log in to trac -> Admin -> Permissions -> Add TRAC_ADMIN for user
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:
- svn+ssh://jupiter2.raidtech.net/home/svn/<repositoryname>
Creating a repository:
sudo svnadmin create /home/svn/myrepo sudo chown -R root:swdev /home/svn/myrepo/db sudo chmod -R g+w /home/svn/myrepo/db sudo chown -R root:swdev /home/svn/myrepo/locks sudo chmod -R g+w /home/svn/myrepo/locks
For more information see: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html
To create a project within a repository, on your local computer:
- create project dir myproj w/sub-dirs: tags, branches, trunk
- create/copy your project under myproj/trunk (see example helloc project in test repository)
- cd myproj
- svn import svn+ssh://jupiter2.raidtech.net/<repositoryname> -m "initial import"
Apache webserver
- /etc/apache2
- /var/www/html
Trac Wiki and Defect Tracking
- /var/local/trac
- /var/local/trac/conf/trac.ini