Lab 01
Setting up Julia, GitHub, and Quarto
Overview
Please see the slides for more details.
Instructions
Read and go through the Software Installation Guide for instructions on setting up your computer for this course.
Follow the link to lab 1 assignment from Canvas (it should start with
classroom.github.com
). It may take a few minutes for the site to configure your repository.You will get a message saying ” Your assignment repository has been created: …“. Click on the link to go to your repository.
clone
the repository for lab 01 (use the Github Classroom link from Canvas) to your computer. You can use VS Code functionality, GitHub Desktop, or your terminal.Open the directory containing the repository in VS Code doing one of the following:
- From GitHub desktop:
Repository > Open in Visual Studio Code
- In VS Code:
File > Open Folder...
- From GitHub desktop:
Instantiate
the project environment as follows:- Open the command palette (Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on Mac)
- Start typing “Julia: Start REPL”. It will auto-complete; select the command as it appears.
- In the Julia REPL, type
]
to enter the package manager. It should now show something like(lab01) pkg>
. - Type
instantiate
and run it (Enter
). This will install all the packages needed for this lab. - Type the backspace key to exit the package manager.
Edit the
solutions.qmd
file to add your name and netIDRender the document
- Open the
solutions.qmd
file - Open the command palette and run “Quarto: Render”. After some activity, a preview of the rendered document should open in VS Code. If you see something like
Browse at http://localhost:4200/labs/lab01/solution.html
you can open that link in your web browser to see the rendered document. - Check the box on line 46 or 47 of the
solutions.qmd
file to indicate that you were able to render the document. If you were unable to render the document, check the other box and seek help. Make sure the box check renders correctly in the preview
- Open the
If you’re still having trouble:
- Try running
Pkg.build("IJulia")
in the Julia REPL
- Try running
commit
andpush
your changes