User Tools

Site Tools


services:submit:submit-from-home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:submit:submit-from-home [2017/03/29 15:48] jasservices:submit:submit-from-home [2017/03/29 15:55] (current) jas
Line 1: Line 1:
 ====== Submitting From Outside Prism Lab ====== ====== Submitting From Outside Prism Lab ======
  
-When submitting assignments from outside the Prism lab, you may use  [[https://webapp.eecs.yorku.ca/submit|EECS Web Submit]].  However, sometimes, a course requires you to submit via command line submit. For example, if that course uses an automated checking system to check your submitted work.  In this case, you will have to transfer your files to an EECS server, then login remotely, and use the command line submit tool.+When submitting assignments from outside the Prism lab, you may use  [[https://webapp.eecs.yorku.ca/submit|EECS Web Submit]].  However, sometimes, a course requires you to submit via command line submit. For example, if your course uses an automated checking system to check your submitted work, this function is not yet compatible with web submit.  In this case, you will have to transfer your files to an EECS server, then login remotely, and use the command line submit tool.
  
 ==== Windows users ==== ==== Windows users ====
Line 14: Line 14:
  
 == Step 3 == == Step 3 ==
-Remote login to the EECS undergraduate server and create a directory for your submission files if you have not already done so in the past. Do this by running the **putty** program that you installed in Step 2. In the //Host Name (or IP address)// field enter the EECS undergraduate server name **red.cse.yorku.ca** and then click the //Open// button +Remote login to the EECS undergraduate server and create a directory for your submission files if you have not already done so in the past. Do this by running the **putty** program that you installed in Step 2. In the //Host Name (or IP address)// field enter the EECS undergraduate server name **red.eecs.yorku.ca** and then click the //Open// button
- +
-{{ :putty1.png }}+
  
 == Step 4 == == Step 4 ==
Line 22: Line 20:
  
 == Step 5 == == Step 5 ==
-You should see a login terminal appear+You should see a login terminal appear.
- +
-{{ :putty2.png }}+
  
 == Step 6 == == Step 6 ==
 Type your EECS user name and press //Enter//. Type your EECS password and press //Enter//; **your password will not appear as you type it**. Type your EECS user name and press //Enter//. Type your EECS password and press //Enter//; **your password will not appear as you type it**.
- 
-{{ :putty3.png }} 
  
 == Step 7 == == Step 7 ==
Line 40: Line 34:
  
 Do not close **putty**; you still need it to run the submit command. Do not close **putty**; you still need it to run the submit command.
- 
-{{ :putty4.png }} 
  
 == Step 8 == == Step 8 ==
 Transfer your files from your computer to the EECS undergraduate server. Do this by running the **WinSCP** program that you installed in Step 1. Enter the EECS undergraduate server name **red.eecs.yorku.ca** as the //Host name//, type in your EECS user name and password, and press the //Login// button. Transfer your files from your computer to the EECS undergraduate server. Do this by running the **WinSCP** program that you installed in Step 1. Enter the EECS undergraduate server name **red.eecs.yorku.ca** as the //Host name//, type in your EECS user name and password, and press the //Login// button.
- 
-{{ :winscp1.png }}  
  
 == Step 9 == == Step 9 ==
 You may get a warning window stating //"The server's host key was not found in the cache."// This is to be expected if this is the first time that you have logged into **red.eecs.yorku.ca** using **WinSCP**. Click the //Yes// button to continue. You may get a warning window stating //"The server's host key was not found in the cache."// This is to be expected if this is the first time that you have logged into **red.eecs.yorku.ca** using **WinSCP**. Click the //Yes// button to continue.
- 
-{{ :winscp2.png }}  
  
 == Step 10 == == Step 10 ==
 When you successfully login, you should see the **WinSCP** program running as shown in the figure below. The left pane shows the file system of your computer, and the right pane shows the file system of the EECS undergraduate server. When you successfully login, you should see the **WinSCP** program running as shown in the figure below. The left pane shows the file system of your computer, and the right pane shows the file system of the EECS undergraduate server.
- 
-{{ :winscp3.png }}  
  
 == Step 11 == == Step 11 ==
 In the left pane, navigate to the folder containing your submission files using the //Open directory/bookmark// button. For eclipse users, you can find the folder holding your files using eclipse (in eclipse, open one of your submission files, click the //File// menu and select //Properties//).  In the left pane, navigate to the folder containing your submission files using the //Open directory/bookmark// button. For eclipse users, you can find the folder holding your files using eclipse (in eclipse, open one of your submission files, click the //File// menu and select //Properties//). 
- 
-{{ :winscp4.png }}  
  
 == Step 12 == == Step 12 ==
Line 67: Line 51:
  
 In the right pane, navigate to your **submit** directory that you created in Step 7. In the right pane, navigate to your **submit** directory that you created in Step 7.
- 
-{{ :winscp5.png }}  
  
 == Step 13 == == Step 13 ==
 In the left pane, select the files that you want to submit. In the figure below, you can see that I have selected three files to submit. Click the //Upload// button (highlighted in red in the figure below) to upload your files. In the left pane, select the files that you want to submit. In the figure below, you can see that I have selected three files to submit. Click the //Upload// button (highlighted in red in the figure below) to upload your files.
- 
-{{ :winscp6.png }}  
  
 == Step 14 == == Step 14 ==
 When the upload is finished, you will see your files appear in your account on the EECS server in the right pane.  When the upload is finished, you will see your files appear in your account on the EECS server in the right pane. 
- 
-{{ :winscp7.png }}  
- 
  
 == Step 15 == == Step 15 ==
Line 87: Line 64:
 ls ls
 </code> </code>
- 
-{{ :putty5.png }} 
  
  
Line 97: Line 72:
 submit 2030 lab1 Point2.java SpiroUtil.java group.txt submit 2030 lab1 Point2.java SpiroUtil.java group.txt
 </code> </code>
- 
-{{ :putty6.png }} 
  
 == Step 17 == == Step 17 ==
Line 111: Line 84:
 == Step 1 == == Step 1 ==
 In **Launchpad**, search for the **terminal** program, and start the **terminal** program. You will use this terminal to access files on your EECS account by logging into the EECS undergraduate server computer. In **Launchpad**, search for the **terminal** program, and start the **terminal** program. You will use this terminal to access files on your EECS account by logging into the EECS undergraduate server computer.
- 
-{{ :term1.png }} 
  
 == Step 2 == == Step 2 ==
Line 128: Line 99:
 ssh burton@red.eecs.yorku.ca ssh burton@red.eecs.yorku.ca
 </code> </code>
- 
-{{ :term2.png }} 
  
 == Step 3 == == Step 3 ==
 If this is the first time that you have remotely logged in to the server, you will receive a warning message. Type ''yes'' and press //enter// to continue: If this is the first time that you have remotely logged in to the server, you will receive a warning message. Type ''yes'' and press //enter// to continue:
- 
-{{ :term3.png }} 
  
 == Step 4 == == Step 4 ==
 Enter your password and press //enter// (your password will not appear as your type): Enter your password and press //enter// (your password will not appear as your type):
- 
-{{ :term4.png }} 
  
 == Step 5 == == Step 5 ==
 You are now logged in to your EECS account. Notice that the prompt in your terminal has changed to **red** which is the name of the EECS server computer that you are currently logged in to. You are now logged in to your EECS account. Notice that the prompt in your terminal has changed to **red** which is the name of the EECS server computer that you are currently logged in to.
- 
-{{ :term4-2.png }} 
  
  
Line 156: Line 119:
  
 This will create a directory named ''submit'' in your home directory of your EECS account, and then change to the newly created directory. This will create a directory named ''submit'' in your home directory of your EECS account, and then change to the newly created directory.
- 
-{{ :term5.png }} 
  
  
 == Step 6 == == Step 6 ==
 Open a second **terminal** window (click on the //Shell// menu and click on //New Window//). You will use this terminal to access files on your computer. Open a second **terminal** window (click on the //Shell// menu and click on //New Window//). You will use this terminal to access files on your computer.
- 
-{{ :term6.png }} 
  
 == Step 7 == == Step 7 ==
Line 183: Line 142:
 ls ls
 </code> </code>
- 
-In the figure below you can see that I have three files in the directory 
-(''Point2.java'', ''SpiroUtil.java'', and ''group.txt''). 
- 
-{{ :term8.png }} 
- 
  
 == Step 10 == == Step 10 ==
Line 206: Line 159:
 scp group.txt burton@red.eecs.yorku.ca:submit scp group.txt burton@red.eecs.yorku.ca:submit
 </code> </code>
- 
-{{ :term9.png }} 
  
  
 == Step 11 == == Step 11 ==
 **scp** will prompt you for your EECS password; type it in and press //enter// **scp** will prompt you for your EECS password; type it in and press //enter//
- 
-{{ :term10.png }} 
  
  
Line 219: Line 168:
 **scp** will transfer a copy of your files from your computer to your EECS account. **scp** will transfer a copy of your files from your computer to your EECS account.
  
-{{ :term11.png }} 
-  
  
 == Step 13 == == Step 13 ==
Line 230: Line 177:
 ls ls
 </code> </code>
- 
-In the figure below, you can see that the files ''group.txt'', ''Point2.java'', and ''SpiroUtil.java'' are now in the submit directory of my EECS account. 
- 
-{{ :term12.png }} 
  
  
Line 244: Line 187:
 submit 2030 lab1 Point2.java SpiroUtil.java group.txt submit 2030 lab1 Point2.java SpiroUtil.java group.txt
 </code> </code>
- 
-{{ :term13.png }} 
  
 == Step 15 == == Step 15 ==
 Read the output of the submit command carefully. If there are errors with your submission you may be forced to re-submit your corrected work. Read the output of the submit command carefully. If there are errors with your submission you may be forced to re-submit your corrected work.
  
- +== Step 16 ==
- +
-== Step 18 ==+
 You may re-submit your work as many times as you like. Every time you make changes to your work on your computer, you must re-transfer your work using ''scp'' (using a terminal window on your computer) and re-submit by typing in the submit command (using a terminal window where you are logged into **red**). You may re-submit your work as many times as you like. Every time you make changes to your work on your computer, you must re-transfer your work using ''scp'' (using a terminal window on your computer) and re-submit by typing in the submit command (using a terminal window where you are logged into **red**).
  
services/submit/submit-from-home.1490816900.txt.gz · Last modified: 2017/03/29 15:48 by jas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki