![CircleCI](https://camo.githubusercontent.com/57fa2d4475af34374c85f12eb7d50dd27f72a259c45a7cb131250390cdc5f19e/68747470733a2f2f636972636c6563692e636f6d2f67682f41757374696e436f64696e6741636164656d792f7765622d776f726b626f6f6b2e7376673f7374796c653d737667)
![](https://camo.githubusercontent.com/4e4343b755c1ddbae526df11822138881d26871ab2f73deaf936681fcffe791f/687474703a2f2f656e2e67726176617461722e636f6d2f75736572696d6167652f3130373337303130302f61303835393431343535363435333631333864666161663037326337623234312e706e67)
- Make sure you are signed into GitHub
- Here's a video explaining how to do it
- Navigate into the project directory:
cd web-workbook
- Run
npm install
in your terminal
- Run
npm start
in your terminal
- Navigate to this IP Address in your browser:
http://127.0.0.1:8080
.
- To break out of your server, press
ctrl
+ c
- Run
npm run lint
in your terminal
- HTML Lint checks for HTML Syntax errors (e.g. indentations and tag closures).
- CSS Lint checks for CSS erros (e.g indentation, tag closures, duplicated properties).
- ES Lint checks for proper JavaScript syntax (e.g. indentation and default style guide).
- To avoid Lint errors, be sure to indent with 2 spaces (hitting the space bar twice).
- If there are no errors, your code has passed the Lint Process.
- The terminal will say something like this:
> [email protected] lint /Users/cLo/Desktop/web-workbook
> htmllint {*.html,./**/*.html} && stylelint ./**/*.css && eslint --config .eslint.json .
[htmllint] found 0 errors out of 18 files
- Run
npm test 08week/tic-tac-toe/test.js
in your terminal
- Run
npm test 09week/towers-of-hanoi/test.js
in your terminal