services:grading
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:grading [2019/05/29 14:41] – jas | services:grading [2021/10/01 09:00] (current) – jas | ||
---|---|---|---|
Line 35: | Line 35: | ||
User bob added to gsync user list. | User bob added to gsync user list. | ||
- | It will take 1 hour for your Gsync account to be active. | + | Gsync is enabled. |
- | Gsync enabled. | + | Gsync account updates occur once per hour, but only for courses in the current term. |
</ | </ | ||
Gsync is enabled for course 9999. The course directory owner (bob) is added to the gsync access list for the course. | Gsync is enabled for course 9999. The course directory owner (bob) is added to the gsync access list for the course. | ||
+ | |||
+ | **NOTE:** The instructions above assume your course is in the current term. While you can initialize gsync for a course in a different term by specifying a full path to the course directory (eg. / | ||
===== Step 2: Add Course TAs to Gsync Access List ===== | ===== Step 2: Add Course TAs to Gsync Access List ===== | ||
Line 50: | Line 52: | ||
To list users in the access list for your course: gsyncu < | To list users in the access list for your course: gsyncu < | ||
+ | |||
+ | **NOTE:** The instructions above assume your course is in the current term. While you can add TAs to the gsync access list for your course in a different term by specifying a full path to the course directory (eg. / | ||
===== (optional) Step 3: Add Directories to Sync ===== | ===== (optional) Step 3: Add Directories to Sync ===== | ||
Line 65: | Line 69: | ||
===== Step 4: Wait for Your Gsync Account to be Initialized ===== | ===== Step 4: Wait for Your Gsync Account to be Initialized ===== | ||
- | Gsync will create an account and group for your course. | + | Gsync will create an account and group for your course |
After about an hour, gsync will have created your gsync account and group, and will have updated the gsync access list. | After about an hour, gsync will have created your gsync account and group, and will have updated the gsync access list. | ||
+ | **NOTE:** If your course is not being taught in the current term (eg. your course is taught in 2019-20 fall, and it is presently 2018-19 summer), then your gsync account updates will only occur when your course is being taught in the present term. | ||
+ | |||
===== Step 5: Login to the Grading Server ===== | ===== Step 5: Login to the Grading Server ===== | ||
Login to the grading server (grade1.eecs.yorku.ca) with your regular EECS account. | Login to the grading server (grade1.eecs.yorku.ca) with your regular EECS account. | ||
- | indigo% ssh grade1 | + | |
** NOTE: The grading server is intended to be used for grading assignments. | ** NOTE: The grading server is intended to be used for grading assignments. | ||
Line 81: | Line 87: | ||
In order to access the course grading account, use the " | In order to access the course grading account, use the " | ||
- | grade1% bu -d ta9999 | + | |
- | Note that the grading account is only accessible from the grading server, grade1. | + | Notes: |
- | ===== Step 7: Sync the Course Data ===== | + | * The grading account is only accessible from the grading server, grade1. |
+ | * You can only access the grading account for a course that is being offered in the current term. For example, if it is 2018-19 summer, and you have created a gsync account for teaching course 9999 in 2019-20 fall, you will not be able to access your gsync account until 2019-20 fall. When it becomes 2019-20 winter, you will lose access to the gsync account for the course automatically. | ||
+ | * The grading account is only accessible with the " | ||
+ | * Your access list determines who can access the account. | ||
+ | * If your course directory has capital letters (eg. 9999E), then all letters in the account name are converted to lowercase (eg. ta9999e). | ||
- | After you' | + | ===== Step 7: Sync the Course Data ===== |
+ | |||
+ | After you' | ||
- | grade1% gsync | + | |
Here's a sample run: | Here's a sample run: | ||
Line 122: | Line 134: | ||
</ | </ | ||
- | The first time you run gsync, it copies down the data from your course submit directory, and other directories that you've configured gsync to clone. | + | The first time you run gsync on the grade1 server, it copies down the data from your course submit directory, and any other directories that you've configured gsync to clone. |
- | Your data has been synced into the grading directory. | + | The / |
- | In order to access | + | Subsequent times that you run gsync, it will will copy down changes. |
- | Each account has these 3 directories created | + | Each grading |
- | * clone/ - a read only copy containing a clone of your submit directory and other directories that you've asked gsync to bring down. | + | * clone - a **READ ONLY** |
- | * home/ - the home directory for the course gsync account | + | * home - the home directory for the course gsync account |
- | * work/ - a default | + | * work - This directory is created for you and your TAs to do grading. |
- | The grading directory / | + | Neither you nor the TAs can create additional |
- | When you or your TAs run the gsync command, | + | To begin grading, you or your TAs may want to copy the contents of the read only " |
+ | |||
+ | < | ||
+ | grade1% cp -r / | ||
+ | </ | ||
+ | |||
+ | When you or your TAs run the gsync command, | ||
===== (optional) Step 8: Add a Password to Your Gsync ===== | ===== (optional) Step 8: Add a Password to Your Gsync ===== | ||
- | If necessary, you can add a password to your course grading account. You can use this | + | If necessary, you can add a password to your course grading account to enable |
- | password | + | |
- | Setup a password for course " | + | Setup a password for course " |
+ | < | ||
% gsyncu 9999 password | % gsyncu 9999 password | ||
Line 158: | Line 176: | ||
A Gsync password has been set. It will be enabled within an hour. | A Gsync password has been set. It will be enabled within an hour. | ||
+ | </ | ||
In order to access the account via sftp, you must sftp to grade1.eecs.yorku.ca, | In order to access the account via sftp, you must sftp to grade1.eecs.yorku.ca, | ||
Line 171: | Line 190: | ||
* Remember that the grading account is only accessible on the grading server, grade1. | * Remember that the grading account is only accessible on the grading server, grade1. | ||
- | * gsync only copies data from the course directory to the grading area. If you want to copy data from grading area back to your course directory, | + | * gsync only copies data from the course directory to the grading area. If you want to copy data from grading area back to your course directory, |
- | grade1% | + | grade1% |
</ | </ | ||
+ | * NOTE: Only the course directory owner will be able to copy files back to the course directory. | ||
+ | * There are other options including SCPing files, SFTP, creating an archive (zip, bzip, bzip2, etc) and transferring that. | ||
+ | |||
+ | * You can only access the grading account for a course that is being offered **in the current term**. | ||
* Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account. | * Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account. | ||
Line 181: | Line 204: | ||
* Group submit is now reserved for faculty use **only**. | * Group submit is now reserved for faculty use **only**. | ||
- | * If you have any questions about gsync, please inform tech. | + | * If you have any questions |
- | + | ||
- | + | ||
- | + | ||
services/grading.1559155286.txt.gz · Last modified: 2019/05/29 14:41 by jas