Repository navigation
.temp
In this activity, you will set up your course development environment (CDE). Complete these setup tasks before the end of Week 1 or before starting other repository activities.
Complete these steps in order.
-
Set up GitHub. Follow the GitHub Setup guide.
Already completed this step in a previous course? Skip this step.
-
Set up the STEM Computing Baseline (SCB) on your computer.
Already set up the SCB on this computer? Skip this step.
-
Copy the course repository to your device.
Copy and run one of the following command blocks in a terminal. For help using a terminal, see Terminal Basics.
- Bash Terminal
mkdir -p "$HOME/Repos" git clone --origin upstream https://github.com/GC-STEM/crs000.git "$HOME/Repos/crs000" cd "$HOME/Repos/crs000"
- PowerShell Terminal
New-Item -ItemType Directory -Path "$HOME/Repos" -Force | Out-Null git clone --origin upstream https://github.com/GC-STEM/crs000.git "$HOME/Repos/crs000" cd "$HOME/Repos/crs000"
-
Create a private copy of the course repository in your GitHub account.
Do this step only once per course.
In the same terminal, copy and run the following command block. The first command stars the GC-STEM repository so you can find it later. The second creates your private repository on GitHub.
gh api --method PUT user/starred/GC-STEM/crs000 gh repo create crs000 --private --source=. --remote=origin --push git remote -v
-
Connect with GC-STEM on GitHub.
Already completed this step in a previous course? Skip this step.
In the same terminal, copy and run the following command block.
gh api graphql -f query='mutation($id:ID!){followOrganization(input:{organizationId:$id}){organization{login}}}' -f id="$(gh api orgs/GC-STEM --jq .node_id)"
Wiki Home · Code Repository · Ask a Question · Report an Issue
Maintained by GC STEM.