“kingsmen documentation by “ Boomchart ”

Created: 11/06/2020
By: _boomchart
Email: supportboomchart.net

Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email me.


IF YOU DON’T WANT TO GET DOWN AND DIRTY WITH THE TECHNICAL SIDE OF SETTING UP kingsmen ON YOUR SERVER, YOU CAN HIRE ME TO MAKE THE SITE INSTALLATION FOR YOU.

Thanks so much!


Table of Contents

  1. Preparing
  2. Installation Process
  3. Admin Dashboard

A) Preparing - top

Make sure you have the following:

  1. PHP 8.2.3x
  2. Mysql 5.x
  3. Fileinfo extension

Files Included:

  1. Html
  2. Css
  3. Javascript
  4. Sass
  5. Php
  6. Sql

Framework: Laravel

Demo details:

  1. Frontend: https://nothingdevelopers.xyz/kingsmen
  2. Admin Access: https://nothingdevelopers.xyz/kingsmen/admin
  3. Admin Login: Username: admin || Password: 1234
  4. User Access: https://nothingdevelopers.xyz/kingsmen/login
  5. User Login:Email: demo@boomchart.net || Password: kingKING1234

Make sure you have a phpmyadmin mysql database already created, and also make sure that the database schema have already been imported. Ensure database user has all permissions to access database.


B) Installation Process - top

First, let us say that in your hosting server, you have current /public_html/ directory in filemanager via cpanel, for example:

/home/hosting-user/public_html/

Now open the /public_html/ directory in your server and upload the script.zip file downloaded from your purshase download page and unzip it.

Navigate to mysqli wizard on cpanel and create a database & and a database user. Give database user all privileges after creating account.

Log in to phpmyadmin and upload database.sql file downloaded from purchase to database by clicking on import after selecting the appropriate database you created.

Navigate to webmail on cpanel and create an email account. click on connected devices after email account has been created. Copy all necessary details like outgoing server, username, password and port.

At this point, you can find a ".env" file in the /public_html directory, if not, make sure the option to see hidden files is enabled on your filemanager.

Open the "public_html/.env" file and edit the database information , APP_NAME, APP_URL, and email information.

APP_NAME= "Kingsmen"
APP_ENV=local
APP_KEY=base64:NY0K0NvBZJKYObAyHI9v90CyQBKFxA8+1rWqETYoAEQ=
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://your-domain.com

DB_CONNECTION=mysql
DB_HOST=127.0.0.1 or localhost not localhost:8889
DB_PORT=3306
DB_DATABASE=Your database name
DB_USERNAME=Your database user
DB_PASSWORD=Your database password

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=465
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=ssl


PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=

NOCAPTCHA_SECRET=
NOCAPTCHA_SITEKEY=

At this point, you can see that the site is accessible to the web, via http://yourdomain.com/ right?

Still having difficulty, watch videos will have provided to help you out:
Here is a sample video on how to install our basic laravel script, aint kingsmen, but will do - https://drive.google.com/file/d/1YiGj-loyW-5F5nZXMGmx5oHNXzGCqR3h/view?usp=sharing
Here is a sample video on how to set up email smtp - https://drive.google.com/file/d/1apD5KNT09uAxAIsSNNeF2fYHkh67RB79/view?usp=sharing

Still have bugs and inquires, send a ticket to support@boomchart.net

D) Admin Dashboard - top

Now, back to your website go to http://your-domain.com/admin

Now default username & password is admin & 1234.

E) Cron Job - top

Now, navigate to cron jobs in your cpanel to add a new cron command. You only have to add a single cron command in kingsmen and you need to add it correctly

You will see a sample format in your cron job page similar to this /opt/alt/php_version/usr/bin/php /home/cpanel username/path/

Copy the default path to were you uploaded kinsmen software and add this /artisan update:transactions .

F) HIDING AND REPORTING BUG REPORTS - top

APP_DEBUG is set to false on default to enable users install software properly, ensure you revert this back to true to hide error report from clients as 500 error will be displayed instead of an error report.

Errors happen on any application, if you come across any while using this application, kindly send your error report to support@boomchart.net as ticket and we will gladly help out. .

H) GETTING 404 ERROR AFTER INSTALLATION - top

If you are getting this error, it means you did not upload .htaccess file in public_html file. If you can't file to upload, you can create a new file called .htaccess in public_html folder and paste the following code, click here

Errors happen on any application, if you come across any while using this application, kindly send your error report to support@boomchart.net as ticket and we will gladly help out. .

I) CREATING WEBMAIL - top

On cpanel dashboard, navigate to Email Account and create a new email account. Click on connected devices to get SMTP details. Take note of SSL settings and to .env in File Manager.

J) GETTING 500 ERROR AFTER INSTALLATION - top

If you are getting this error, check your .env file and ensure APP_DEBUG is set set to false so you can see full error message, APP_NAME has "". If error still persists, ensure your php version is set to 8.2.0 and database credentials are correct

Now navigate to system configuration and activate email notify, add email address and email activation.(Very important cause admin will be informed whenenver a user request is made via email)

Now navigate to email settings and add your email username you created previously.

You are good to go, thanks for purchasing kingsmen