Giter Club home page Giter Club logo

goldsvet's Introduction

Goldsvet 8.5 - 2K24

Aapanel/Cpanel/Plesk Casino Server Configuration Guide

Alt Text

DEMO SITE HERE

Goldsvet Latest 2024 release adds Laravel 10 and PHP 8.1+ support, Easy-Installer.

 

Multiple fixes, merged single database 
Demo USER /Demo Play games is added and activated 
Added 100 games, bringing total to 1200 games now.

  • Set up your server with the following components:
    • OS Almalinux 8 / CentOS 7 recommended
    • Apache
    • MySQL
    • PHP 8.0+
    • Laravel 10
    • Node.js 16
    • PM2
    • Redis
  • Enforce SSL for the domain.
  • Extract/Clone this repo into public_html folder
  • Enable PHP Extension : Fileinfo, Imagick, Redis
  • Create a new email and set a password.
  • Create a new database and grant full access.
  • Import the SQL file db.sql directory.
  • Ensure SSL is enforced for the domain.
  • Run on terminal under public_html folder : composer install
  • Generate SSL CRT, KEY, and BUNDLE. Copy the contents of your CRT/KEY/BUNDLE to files in the /casino/PTwebsocket/ssl/ folder. Create a new email and password.
  • For file uploads:
    • //**** Additional tip: As it includes demo user accounts, generate a new password hash for existing users and execute the following in phpMyAdmin (replace the hash) https://bcrypt-generator.com/. If you need to hash a new word, for example, run this in phpMyAdmin:

      UPDATE w_users SET password = '$2a$12$s1RpwEx/oTL3vYQGZjC33eBHECRJb7gkjmAk9Tmyefub7gQ4nh8XS';

      // This ensures all users' passwords are set to: Test123 ********///

Minimal Installer

Upload/Clone all files from this repo and run the yourdomain.com/install.php

It will help you handle installation.

SSL Specific Instructions

  • Delete any self-signed certificates.
  • Generate or install the Lets Encrypt one if available.
  • Save the text file via notepad or directly as follows:
    • Certificate (CRT) ==> crt.crt
    • Private Key (KEY) --> key.key
  • Go to the folder PTWebSocket/ssl and replace those three files.
  • Edit .env and /config/app.php (URL line 65) for domain, database, user/password, email, and password.

File Edits

Edit / Socket File Changes in *json files.

Games Downloads

Currently, there are approximately 1000 games totaling 40 GB.

Files uploaded soon.. or join our group to get it fast.

PM2 Commands

PM2 COMMANDS https://pm2.keymetrics.io/docs/usage/quick-start/

FROM INSIDE PTWEBSOCKET web folder COMMANDS:

pm2 start Arcade.js --watch pm2 start Server.js --watch pm2 start Slots.js --watch

OR if you tested before and not expecting errors, all in one command:

pm2 start Arcade.js --watch && pm2 start Server.js --watch && pm2 start Slots.js --watch

SAMPLE USEFUL COMMANDS

pm2 stop all pm2 delete all pm2 flush pm2 logs

All commands on https://pm2.keymetrics.io/docs/usage/quick-start/

An extra tool called wscat can be used (install via SSH):

wscat -c "wss://domain:PORT/slots"

Example to make sure you get connected.

Open ports in Firewall: 22154, 22188, 22197 (or whatever you set your Socket file ports to).

Run the site: It should work now if everything was set up correctly.

Troubleshooting

Minor troubleshooting if your composer/artisan did not run correctly:

php artisan cache:clear && php artisan view:clear && php artisan config:clear && php artisan event:clear && php artisan route:clear

Have a Problem or Question?

If you have difficulty for setup/installation consider installation services from my telegram.

Telegram

Telegram Group

Discord : @x.111x

 

Support the Project

If you find this project useful and would like to show your support, you can make a donation using the following cryptocurrencies:

  • Bitcoin (BTC):

    • Wallet Address: 18m7QMr7zU6PV9jmPVB1bbb5nE5CbSpjQA
  • Ethereum (ETH):

    • Wallet Address: 0x5fc161aDa8211982206C7A8ac83140001E9329c9
  • USDT (Tron network):

    • Wallet Address: TEyxHVmRwjThiNcMJivLjspEeFwW8dunZo

goldsvet's People

Contributors

zeusbyte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.