Install and Configure
Install and Configure
line 36
if (isset($_SERVER['SERVER_NAME'])) {
if (strpos($_SERVER['SERVER_NAME'], '.dev') !== false) {
error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
Configure::write('debug', 2);
} else {
ini_set('error_reporting', 0);
error_reporting(0);
Configure::write('debug', 0);
}
} else {
Configure::write('debug', 0);
}
change error reporting, debug and write debug from 0 to 1 and save.
(ONCE FULLY INSTALLED CHANGE IT BACK)
1. In order to get the odds feed to properly display on the website you
need to add cronjobs, the cron´s must be here for the odds to work and
you can add more crons and tweak this around as you need depending on the
odds / matches and sports you want to target. To set our default demo
cron jobs for the odds to display as the website demo please use below
settings.
This is for the betclick demo live feed, aka live odds. Replace
yourdomain with your domain url and please note the paths may be
different demepnding of the setup of your system.
You need to add email setting on order for the email to be sent out for
payer account creations, verifications and things like that and you do
these settings in app/config/email.php
Please note, its very important you get the settings right here as the
system is sensitive. For example: if you add a outlook email or gmail
email address and put the credentials here, there are cases when the
emails do not send out properly anyway, meaning players do not receive
these when signing up, this is not a system error, you need to make sure
your email provider accepts unsecure app allowance (depending if you are
using SSL) or any other layer.
www.yourdomain.com/admin
Username: admin1
password: admin1
From here you manage all settings related to players, odds, casino
settings and so on.
yourdomain.com/eng/admin/acl/aros/ajax_role_permissions
From here you can enable and disable features, select what to be
accessible from the website and not so you can for example shut down any
casino game one by one or them all, disable and activate menu links,
payment gateways and much more. Before you “play around” make sure you
take notes of what you are changing or make an backup of the system
including database.
Line 10 to 15
CoinPayments gateway
open CoinPayments.php
Line 10-13
The basics are the same for all the other different payment gateways.
* Paypal – you need to request a merchangt paypal pai, secret and key *
Skrill – You need to request API secret and key * NovinPal – You need to
request API secret and key
______________________________________________________________
The script requires php 5.6
PDO enabled
REDIS install
Se below
This guide shows you how to enable the PDO module within cPanel/WHM using
Easy Apache.
3. Select "Previously Saved Config (** DEFAULT **)" and click "Start
customizing based on profile"
7. On the "Exhaustive Options List" ensure that PDO, PDO sqlite and PDO
MySQL are selected.
______________________________________________________________
install REDIS
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum update
Install MySQL as usual and start the service. During installation, you
will be asked if you want to accept the results from the .rpm file’s
GPG verification. If no error or mismatch occurs, enter y.
______________________________________________________________
______________________________________________________________
After all theese steps, make sure you have installed php 5.6 and that
everything is updated and you restart your server.