This websocket is a nodeJS server that is designed to run as a service using the nodeJS package forever. The websocket interfaces with digiplay-laravel.
- Clone this repo
git clone https://github.com/ConnorPowell/DigiplayWebsocket
- Move into the repo
cd DigiplayWebsocket
- Copy the environment
cp .env.example .env
OR add the env variables when runningapp.js
- Fill in the environment file with your database credentials
- Install dependencies
npm install
- Run using
node app.js