- Install git
- Clone this repository
- Checkout branch 0-initial (git checkout 0-initial)
- Install node version manager
- Install node 8.9.4 (nvm install 8.9.4)
- Tell nvm to use installed node version (nvm use 8.9.4)
- In the repository directiory (with package.json file) - call npm install
- Install karma globally - npm i -g [email protected]
- Install mocha globally - npm i -g [email protected]
- Install yarn globally - npm i -g yarn
- To run the app: "npm start" - app starts on port 3000
- To run karma tests: "karma start"
- use 'Chrome' in karma.conf.js browsers array to test in the Chrome browser
- use 'ChromeHeadless' in karma.conf.js browsers array to test in the headless version of Chrome
- To run mocha tests: "mocha node"