How to Skip Labs
Labs can be skipped by attendees who:
- arrive late, leave early
- get pulled into a meeting
- have a doctors appointment
- understand a topic and want to move on to a topic they don't know
- etc...
Objectives
- Backup your current code
- Download code
- Install dependencies
Steps
Backup your current code
- Close any editor(s) and command prompt(s) or terminal(s) related to your working copy of the course labs in the directory
code\keeptrack
. - Rename
code\keeptrack
tocode\keeptrack_bkup1
or something similar.
Download code
Download the completed code for the lab before the one you would like to work on following the steps below.
For example, if you wanted to work on lab 18 download lab 17
Finished solution code for each of the labs is available in this repository
Open the branch you want to download:
- For example:
https://github.com/craigmckeachie/keeptrack-ts/tree/lab25
- You can use this template:
https://github.com/craigmckeachie/keeptrack-ts/tree/labxx
Replacing xx with the lab number
Change
tree
toarchive
and add a.zip
extension
- https://github.com/craigmckeachie/keeptrack-ts/tree/lab25
+ https://github.com/craigmckeachie/keeptrack-ts/archive/lab25.zip
- Rename the zip.
- keeptrack-ts-lab25.zip
+ keeptrack.zip
- Copy
keeptrack.zip
intocode\keeptrack.zip
. - Unzip the file.
Install dependencies
- Open a command prompt (Windows) or terminal (Mac) in
code\keeptrack
. - Run the command.
npm install
- After the install finishes, run the command.
npm start
- If you are working on a lab which requires the backend api (lab 17 or later). Open another command-line or terminal. Run the command.
npm run api