Socket IO Integration - Wordpress

Job ID: 33752502

Budget: $30 – $250 USD

Wordpress website running on Linux / WHM / cPanel needs to run wpguppy plugin (chat plugin) through Node Server / Socket IO

Will provide SSH access
WHM / Cpanel
Wordpress admin access

Instructions below:
1) Some server uses 80, 81, 8080 or 3000.

2) Please consult with your hosting provider.

3) You need to install pm2 globally on your hosting server through this command npm install pm2 -g for this, you can contact your hosting service provider or your server manager.

4) You have to add your port id in .env file located in plugins > wp-guppy > node-server > .env at line PORT_ID.

5) You have to add your host url as CORS origin in .env file located in plugins > wp-guppy > node-server > .env at line DOMIAN.

6) No need to change the port if your server is using port 81. (if you will change this port then you have to change it in the .env file located in plugins > wp-guppy > node-server > .env at line PORT_ID).

7) You need to run the node server file (located in plugins > wp-guppy > node-server) on the server through server access like (SSH access), for this, you can contact your hosting service provider or your server manager. if you have an HTTP server then you need to just run the server.js file through the command ( pm2 start server.js ), but if you have an HTTPS server then you have to download an SSL certificate (SSL cert, SSL private key ) from your server then replace these files located in plugins > wp-guppy > node-server > sslcert with the same name given in that folder, after that you need to run command (pm2 start server-ssl.js) at (plugins > wp-guppy > node-server) path.

8) If the plugin update is available for node server packages than you need to run command(npm update) at (plugins > wp-guppy > node-server) path.

9) If the plugin update is available for node server then you need to run command(pm2 restart server.js) for HTTP servers and command(pm2 restart server-ssl.js) for HTTPS servers at (plugins > wp-guppy > node-server) path.
Related categories: PHP Linux WordPress Apache Nginx