- Dates: 08/23/2021 - 08/29/2021
- The installation tutorial videos were recorded for STAT 107 - Spring 2021 (also taught by me), but the steps are exactly the same for our course so I’m reusing them for us.
- Most of the videos in this course are videos from previous semesters. This allows me to hold more office hours, which I think is more helpful to you when you learn how to code.
Follow the instructions in the following setup guide to install all the required software:
To begin to work on assignments and turn in work, you will need to create a git repository for the course.
- Visit: https://edu.cs.illinois.edu/create-ghe-repo/stat430-fa21/
- Follow the instructions to create your repository, coming back here once you have the URL.
Now, you’re ready to clone this repository to your computer:
- Create a
stat430folder on your Desktop (if you haven’t already).
- Using your command line prompt, run the following commands to navigate into your
cd Desktop cd stat430
NOTE: Some of you with a newer Windows computer might run into problem accessing your Desktop folder as your Desktop folder is inside the OneDrive folder instead of the root directory. If this is the case, you will receive an error when running
cd Desktop. To get around with this, run the following commands instead:
cd OneDrive/Desktop cd stat430
- Clone a local copy of your git repository with the following command (making sure to replace [YOUR-GIT-REPO-URL] with the URL from above):
git clone YOUR-GIT-REPO-URL
- Navigate into your git directory by going into your NetID-named folder (replace [NETID] with your actual NetID):
- Set up a connection to the
_releaserepository where code will be released for you:
git remote add release https://github-dev.cs.illinois.edu/stat430-fa21/_release.git
- Let git know who you are REPLACE YOUR NAME and EMAIL with your name/email:
git config user.name "Your Name" git config user.email "email@example.com"
All of our programming will be done in “notebooks.” Your python install will need a few libraries in order to run the notebooks. Using your command line, run the following:
conda install jupyter conda install pandas
This will take a bit. You will need to press [Enter] to confirm you want to install of of the packages (the option
[y]/n shows that
y is default when you choose no option).
Using your command line, navigate to your NetID folder (
cd Desktop -> cd stat430 -> cd [NETID] OR
cd OneDrive/Desktop -> cd stat430 -> cd [NetID] for some of you) and fetch the notebook from our release repository by running the following two git commands:
git fetch release git merge release/lab01 -m "Merging initial files"
ONLY IF you get an error related to unrelated histories, use:
git merge release/lab01 --allow-unrelated-histories -m "Merging initial files"
Open the notebook with the command:
Inside of the notebook webpage:
- Navigate into
- Open up the
- Follow the instructions inside of the notebook
Whenever you are done, you should save the current checkpoint (using File -> Save Checkpoint in the notebook) to save your work. Once your work is saved, you can exit the command line running the notebook with
Ctrl + C.
When you have completed working, you should always submit your work (even if you’re not quite finished). We will always grade the latest push you made before the due date (and ignore everything else) — submitting multiple times is okay and encouraged!
Inside of Jupyter:
- Click File -> Save Checkpoint to ensure your notebook is saved.
- Click File -> Close and Halt to exit your notebook.
- Click Quit (in the top-right) to close the directory view.
After exiting Jupyter, your command prompt will return to accept new commands. Using your command prompt, run:
git add -A git commit -m "lab01 submission" git push origin master
You can verify your submission was made by visiting the web interface to github:
- Visit https://github-dev.cs.illinois.edu/stat430-fa21/
- Click on your NetID.
- Ensure your last commit reflects the changes you made to the Jupyter notebook.