TrustRater Documentation
Introduction
Server Requirements
This professional platform requires setting document root to /public for Laravel 10.x
- Nginx / Apache web server
- MySQL 8+ Web Server
- PHP version 8.3 or higher
- PHP Extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, cURL, exif, GD
- SSL (Https://)
Uploading the Script Files
Connect to your server using your preferred way (SSH / a control panel file manager / FTP / etc.) and upload the zip file "trustrater.zip" to your domain. Unzip the file directly on the server on your domain path.
Setting the Document Root VERY IMPORTANT
You need to configure your web server document root to point to the /public directory.
You can find more info an how to change your site Document root over at:
If you're on cPanel: https://docs.cpanel.net/cpanel/domains/domains/#new-document-rootIf you're on Plesk: https://docs.plesk.com/en-US/obsidian/administrator-guide/77500/
If you're on a Dedicated/VPS: you will have to change your DocumentRoot out of the site's virtual host file


Database & Setup
Create a Database & User
Create a MySQL database and ASSIGN a MySQL User to it. You can do that via CLI or your server Control panel (if you have any).
Setup - Run the Script Installer
Point to your-domain.tld/install to run the installation.



Admin Panel
It's very important to set your own admin panel credentials after the installation.
For this, simply go to your-site.tld/admin/login and then point to Profile
section.


General Configuration
Now it's time to do some general setup for your brand new site like: title, logo, etc.
For this, simply go to your-site.tld/admin/login and then point to App
Configuration section.

Payment Settings
TrustRater enables you to take payments via 2 gateways:
PayPal
Simply add your paypal email in Admin -> Payment Settings
Stripe
Simply add your stripe keys in Admin -> Payment Settings

Then add an endpoint for WebHooks


And your webhooks secret in admin panel too.
Mail Server (SMTP)
It is crucial to setup your SMTP mail server & test the configuration prior to launching your site
to the public.
There are a lot of email notifications like contact form, identity verification,
email verification, bids, etc. that rely on your mail server to notify the respective
recipients
like admin, users or sellers.
The log driver is used for debugging only and the emails will appear in storage/logs/laravel.log
folder.

Impersonating Users

Static Pages
All websites have some sort of static pages like a Privacy Policy, Terms and Conditions, etc.
You can manage these kind of pages and add more (will appear in footer) in Admin -> Pages section

Translating
