Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 531 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 531 Bytes

doro6

web app that opens my door (executes some python script).
using RPi 3.0
node.js
express
passport with fb auth.

set up

rename .env.example to .env and set your fb app id and secret key.
.then(
npm install or yarn install
.done(() => available commands;)
npm run dev to develop
npm run server to serve (no autoreload)
npm run lint to es lint
npm run lint-fix to fix the lint errors\

prod

use forever (npm install forever -g)
.then(npm run forever
to stop it forever stop doro6