Skip to content

JeremyE0110/lab1-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

First-time Setup

This will setup and configure git and GitHub on Matrix. Run everything as your local user, unless indicated otherwise.

  1. Configure git with your full name and Seneca e-mail address:
git config --global user.name "Firstname Lastname"
git config --global user.email "yoursenecaid@myseneca.ca"

(optional) You may want to add a key to Github to reduce password prompts. Generate an SSH key-pair to add to your GitHub account:

ssh-keygen  # Follow defaults (hit enter)
cat ~/.ssh/id_rsa.pub

Copy/paste your public key from above (starting from 'ssh-rsa') to your GitHub account:

https://github.com/settings/ssh/new

  1. If you have an exisiting ops445 directory, rename it:
mv ~/ops445 ~/old_ops445

Per-Lab Setup

This will download Lab 1 locally, allowing you to work on your scripts and upload (push) them back up to GitHub.

  1. Click the green Code button at the top of this page. Select SSH and copy the address.
  2. Clone your lab repository into your ~/ops445/lab1 directory, using Ctrl+Shift+V to paste the address:
git clone <pasted address> ~/ops445/lab1/

Submission

When you have completed all sections of the lab, no submission to Blackboard is necessary. Complete the following steps:

  1. Run the checking script. Make sure you identify and correct any and all errors in your scripts:
cd ~/ops445/lab1/
pwd #confirm that you are in the right directory
python3 ./CheckLab1.py -f -v 
  1. Create laboutput.txt by redirecting the output from CheckLab1.py:
python3 ./CheckLab1.py -f -v &> laboutput.txt
  1. Commit and push (upload) your lab work:
git add lab*
git commit -m "Individual message or note."
git push

You can make changes to your scripts and reupload as many times as you like. Make sure you commit+push to do so.

Note: Your lab is automatically submitted at the due date and time using the last published code. Any changes you publish after the due date won't be marked or seen by your professor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages