EGR 103/Spring 2022/Beginning of Lab

From PrattWiki
Revision as of 02:29, 19 January 2022 by DukeEgr93 (talk | contribs) (Created page with "In the example commands below, anywhere you see '''''NN''''' you should replace that with the two-digit version of the lab number, adding a leading zero if the lab number is l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the example commands below, anywhere you see NN you should replace that with the two-digit version of the lab number, adding a leading zero if the lab number is less than ten.

Log In and Setup

Log in to your computer and make sure your Box Drive Folder (hereafter called Box/) is mounted to your computer. If you are off-campus or otherwise not on a Duke secured network, be sure to start a VPN connection. If you did not successfully complete the work done in Lab 1, you will need to follow all the instructions at Lab 01 -- please let a TA know as soon as you can that you need help getting started so they can help get you set up for lab.

Setting Up Files for Spyder

  • Find your Box Drive Folder using File Explorer or Finder, then click into your EGR103S22 folder.
  • Open a browser to Dr. G's Public Box Folder and then click the ... icon to the far right of the appropriate lab number and download the entire folder in a zip file.
  • Open the zip file that you just downloaded, then drag the contents of the zip file (a single folder) into your Box/EGR103S22 folder. Click in the Box/EGR103S22/LabNNFiles folder to see the files.

Spyder

  • Start Spyder. You can go through Anaconda Navigator or, if using Windows, go to Start -> Anaconda3 -> Spyder.

Setting up Overleaf

This part is not required at the start of lab. Whenever you are ready to start working on the written lab report, you can set up the new Overleaf project.

  • Open another browser tab and log into Overleaf. Create a new blank project called EGR103LABNN. Delete the main.tex that was created within it.
  • Upload the starter files from your Box/EGR103S22/LabNNFiles folder to the project by clicking on the New File icon (top left) in Overleaf, clicking Upload in the Add files window, then dragging the files from your Box/EGR103S22/LabNNFiles folder onto the Drag here rectangle.
  • After the files are on Overleaf, click on the LabNNSample_S22.tex file in your Overleaf project and rename it to labNN.tex. Hit Recompile. Overleaf should recognize labNN.tex as the main document since it is the only one with a \begin{document} in it, but if not, you can go to the menu for the project by clicking the Menu button at top left of Overleaf and then from that menu changing the "Main document" to labNN.tex