Brewery backend
- Open Git bash, nagivate to desired folder
- Clone repo, run:
git clone https://github.com/tibysko/herms-backend.git cd herms-backend- Install dependencies, run:
npm install
Note, ssh keys must be setup before installation
- cd
scripts chmod +x ./install.sh./install.sh <remote ip> <user>
- Start backend, run:
npm start
Start backend, run: npm run start:dev-mock
Start backend, run: npm run start:dev
Run npm run list-ports will list which port the Arduino is connected to.
Note you might have to change com-port in src/board/board.js.
If complaining about "Nodemon.. " run: npm install -g nomdemon
Code style is based on https://github.com/felixge/node-style-guide#no-nested-closures
Run npm run jslint to lint your code