[STEP 3] Executing Socket

Running socket files

We go inside the ./socket files

npm install

Horse Race Socket Starting

node horserace.js

Chat Socket Starting

cd chat
nado index.js

How to keep it active all the time.

With pm2 library you can keep your node codes active all the time.

pm2 docs

Last updated

Was this helpful?