xShows Lite - Installation Guide

Adult Affiliate Multicam Website Builder
adentio9
Site Admin
Posts: 100
Joined: Tue Aug 11, 2015 7:12 am

xShows Lite - Installation Guide

Postby adentio9 » Thu Aug 27, 2020 5:39 am

Step 1: Setup environment

In source folder. Copy file .env.example and rename it to .env .

Modify with your information:

DB_HOST= your_database_host
DB_PORT= your_database_port
DB_DATABASE= your_database_name
DB_USERNAME= your_username_connect_to_mysql
DB_PASSWORD= your_password_connect_to_mysql

Access

Click “App passwords” and generate an app password, then copy ” app password for your device” and paste it to MAIL_PASSWORD

MAIL_PASSWORD= your_app_password
MAIL_USERNAME= your_gmail

Step 2: Install package

In source folder run command : composer i

Step 3: Generate key

In source folder run command: php artisan generate:key

Step 4: Migrations and Seeding

Edit function boot() in file /app/Providers/SettingServiceProvider to

Image

In source folder run command:

php artisan migrate
php artisan db:seed

Recovery function boot()

Step 5: Set up file permissions on Server

Run command

sudo chown -R www-data:www-data /path/to/your/source/public/images/*
sudo chown -R $USER:www-data storage
sudo chown -R $USER:www-data bootstrap/cache
chmod -R 775 storage
chmod -R 775 bootstrap/cache

Step 6: Set up cronjob

You must set up your server to run this command every minute.

* * * * * php artisan schedule:run >/dev/null 2>&1

Image

Return to “Adent - xShows”

Who is online

Users browsing this forum: No registered users and 1 guest