How TosContent
Uploading files (e.g., Studio Designs) to your web spaceEach student has been assigned an individual web directory. You can view these directories under the Studio Design section of the class website. You can access the content of your web directory from one of the CS lab machines (using Windows Explorer or SFTP), or from your own computer (using ssh).Using Windows Explorer from the CS lab machines
Using SFTP from the CS lab machines
Using SSH from your own computerIf you're usingssh from your own computer, you most likely know what you need to do.
Uploading files to your project group web spaceEach project group has been assigned a web directory, similar to the individual
personal web directory described above. You can view these directories under the
Projects section of the class website.
You can access the content of your web directory from
one of the CS lab machines (using Windows Explorer or SFTP), or from your own computer (using ssh), as described above. The only difference will be that wherever you had " ***Make sure to follow the instructions in the section below to ensure your group members can access your files properly!*** Making sure your group members can modify your filesEach project group has been assigned a Unix group (e.g., cse441z), and all members of your project group has been added to be members of this group. You can find out which group you belong to by issuing the command " Whenever one of your group member creates a file or a directory in the project web space, you have to ensure that the file/directory has the permission set to
"group writable" (and readable of course). You can check what the permission is for a particular file or a directory by issuing the command '
attu1% ls -al
The stuff on the left column show the permissions (e.g., " chmod g+w <filename or directory name>
Or alternatively, you can recursively set the group write permission on all the files you've created in the directory by issuing: chmod -R g+w *
In order to make sure that future files that you create automatically have the group write permission set, you need to either issue the command
" Using Subversion for version control of your project filesThanks to Jim George, here's a starter for those wishing to use a version control system for their project files: A bit of background, SVN stands for Subversion and it's one of a few popular Version Control systems. Version Control makes it easy to keep your source code safe and share it aTueg multiple people. Read up more in the following links if you want more background:
First thing to do is through a terminal log onto the
$ ssh <username>@attu.cs.washington.edu
From here you can do step at step 2 through 5 of this tutorial, which has you create a repo, edit a few files, make user accounts, etc. Step 6 will be a little different because we need to use So run this command from your computer (requires SVN to be installed):
$ cd /my/source/directory/
If this is successful, you will see a bunch of lines starting with From this point you and your team can all access the source by:
$ svn co svn+ssh://<csusername>@attu.cs.washington.edu/projects/instr/12sp/cse441/projects/<yourprojectname>/svn/<remote directory name>
And you're set! Hope this helps somebody =) |