Skip to main content

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

  1. Close any editor(s) and command prompt(s) or terminal(s) related to your code copy of the course labs in the directory code\keeptrack.
  2. Rename code\keeptrack to code\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

  1. Open the branch you want to download:

    • For example:
    https://github.com/craigmckeachie/keeptrack-js/tree/lab25
    • You can use this template:
    https://github.com/craigmckeachie/keeptrack-js/tree/labxx

    Replacing xx with the lab number

  2. Change tree to archive and add a .zip extension

-   https://github.com/craigmckeachie/keeptrack-js/tree/lab25
+ https://github.com/craigmckeachie/keeptrack-js/archive/lab25.zip
  1. Rename the zip.
- keeptrack-js-lab25.zip
+ keeptrack.zip
  1. Copy keeptrack.zip into code\keeptrack.zip.
  2. Unzip the file.

Install dependencies

  1. Open a command prompt (Windows) or terminal (Mac) in code\keeptrack.
  2. Run the command.
    npm install
  3. After the install finishes, run the command.
    npm start
  4. 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

You have completed the Appendix A1 for the labs.


Reference