Open main menu

CDOT Wiki β

Changes

GitHub Classroom Setup

161 bytes added, 16:55, 22 May 2019
no edit summary
# When complete, click on the link by “''Your assignment has been created here.''”
# Repeat steps 2, 4, 5, and 6 for each lab and assignment invite link.
# Follow the Migration Instructions below.
== Migration Instructions Setup Git on CentOS 7 ==# Install git (as root): <syntaxhighlight lang="Bash" inline>yum install git</syntaxhighlight># Rename Configure git with your ops435 directoryfull name: '''mv ~/ops435 ~<syntaxhighlight lang="Bash" inline>git config --global user.name "Firstname Lastname"</old_ops435'''syntaxhighlight># Recreate the directory structureConfigure git with your Seneca e-mail address: '''for x in {1<syntaxhighlight lang="Bash" inline>git config --global user.email "yoursenecaid@myseneca.8}; do mkdir -p ~ca"</ops435/lab$x; done'''syntaxhighlight># Generate a SSH key-pair to add to your GitHub account: <syntaxhighlight lang="Bash" inline>ssh-keygen # Follow the Setup instructions on the GitHub Lab 1 page defaults (this will set up your local repositoryhit enter) '''Don’t forget to clone!'''</syntaxhighlight># Copy Display your backed-up lab work into your local GitHub Lab 1 folderSSH public key to copy/paste: '''cp <syntaxhighlight lang="Bash" inline>cat ~/old_ops435.ssh/lab1id_rsa.pub</* ~/ops435/lab1/'''syntaxhighlight># Submit Paste your work to GitHub per the instructions on the main GitHub lab page. SSH public key (git add, git commit, and git push)# Repeat steps 3starting from ''ssh-5 for each lab and assignment yoursa've already worked on') to your GitHub account: https://github.com/settings/ssh/new
== Accessing GitHub Labs and Assignments ==
# All labs and assignments can be found here: https://www.github.com/ops435/
# Each repository contains your own individual code and is set to private. The only people who can see it are you and your professor.