Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 665 Bytes

File metadata and controls

30 lines (20 loc) · 665 Bytes

br-local-node-server

Local node server on each GB for connecting to API

Setup

Environment

NodeJS via NVM

  • Install Instructions
  • Setup
    • nvm install node
    • nvm alias node
  • Clone and cd into repo
  • Install npm packages npm i

Setup the user account for the gb

Environment Variables

process.env.SERVER_ADDRESS - default "http://localhost:3001" process.env.SOCKET_ADDRESS - default "http://localhost:8000"

On ROS Melodic, tornador must be downgraded for this package to work. sudo pip install tornado==4.5.3

Run

Development - npm run dev

Production - npm run start