Maintenance
Separate setup to back up the real-time database and user activities. Provides an interface to control the platform-specific permissions.
This poker software is programmed to support multiple platforms same time using a single codebase. Keep this private as it just works as a control panel. Basically, it controls the game versions, and game clients and helps you to activate maintenance mode if required. This also keeps a hot backup of the dataset that will be a copy of the live database.
Maintenance Code Deployment - Ubuntu Server
This folder contains files that give you a tool to manage your online poker software. Keeping this on a separate instance will increase the level of security and increase peace of mind.
Please follow these steps to set up your maintenance code.
-Put maintenance files inside /home/ubuntu/folder-name.
-Go inside the folder and run pm2 start js-file-name (bin/www).
-Check pm2 logs for check running or error.
-For maintenance in the browser use the URL with port [3010].
-Login to the maintenance panel and create a game version for each device type.
Now, give access to an approved device type to access the poker game.
Code Configuration - Files Update
Now, it's time to configure the code for your domain/IP. Follow the file path instructions to update details. Make sure you edit and save the same file as described here.
Go to Folder:
-Maintenance-Folder/web-server/config/keys.js
-Replace example.com with the real domain name.
Open the file in IDE and search for the connectorHost.
configData.rootTools = {};
configData.rootTools.connectorHost = "connector.example.com"; configData.rootTools.connectorPort = "3050";
configData.rootTools.gateHost = "gate.example.com";
configData.rootTools.gatePort = "3014";
Enjoy, for this section the file deployment, and code configuration is completed.
Last updated
Was this helpful?