Website
Corporate web presence, connected with the core poker module with user login and signup. A plane HTML5, WordPress (Default), or Javascript (React) technology is supported.
Recently, a web-based presence is so common and important for online poker gaming. Most players want a universal poker app that can be accessed anywhere from any device. A device-specific poker app has its own importance for security, privacy, as well as for personal choice. In this content, you will learn to set up a web-based universal poker solution.
Website Code Deployment - Ubuntu Server
As specified, in the introduction there is a separate folder for website files. This front website is built on WordPress CMS and acts as the front face of your brand. From the WordPress default admin, it is possible to change the UI as well as brand-related content.
These are the guidelines you can follow for file placement.
-Put website files inside /var/www/html/website-folder-name.
-Create MySQL database and import dump file.
-Create a virtual host with the domain name, SSL and connect the website folder with the virtual host.
-Create Port (IP) 000.0.0.00:80 in port Conf.
-Run your website domain.
This will return the default design and UI components. Now, you can update it.
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:
-website-folder/wp-content/themes/pokerSD/testGame/js/webapi.js
-Replace example.com with the real domain name.
Open the file in IDE and search for the production IP.
var webApiUrl = "https://www.example.com:3015/",
webSiteUrl = "https://example.com",
Enjoy, for this section the file deployment, and code configuration is completed.
Last updated
Was this helpful?