Step 2: Run Auto-grader tests and setup GitHub Pages
Run Auto-grader checks
If you followed the instructions properly, creating the different sections with the correct IDs, classes, and content types, you should pass the auto-grader checks.
-
Open your preferred command line terminal (i.e. terminal, iTerm, bash, git bash, powershell, ... etc) and navigate to the project path.
- remember the
cd
command from System Admin class. - Using Visual Studio Code you can simply open the integrated terminal (View > Terminal) which will automatically open up at the correct project path.
- remember the
-
install project depenedencies using the following command:
npm install
-
run the following command:
npm test
. a suite of tests will run producing results similar to the following.
Setting up GitHub Pages for hosting
- Follow the following instructions to setup github pages and publish your page from
main
.