Documentation
Zuromi - Perzonalized Celebrity Video Platform
Created: 05, July 2024 by Miguel Vasquez
Table of Contents
Celebrities offer video messages for their fans, whether for birthdays or any special occasion, and their fans also send private messages, to connect with your favorite celebrities.
Requirements:
- PHP 8.2 or Greater
- MySQL 5.7
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- BCMath PHP Extension
- cURL
- GD Library
- allow_url_fopen (PHP.INI) is ON
- Fileinfo PHP Extension
IMPORTANT:
Make sure your server has PHP 8.2 or higher and MySQL 5.7 as a minimum
IMPORTANT:
if you are running Nginx, please follow these instructions Nginx Configuration
Basic PHP configuration
max_execution_time
minimum 6000memory_limit
set to 512Mpost_max_size
set the maximum upload value you wantupload_max_filesize
must be the same maximum value of post_max_size
Setting MySQL
- 1.) Create a database
- 2.) Create a user for database
- 3.) Import the Database
- Log into your phpMyAdmin and import the
zuromi.sql
file located in the folderMySQL
Uploading Files
- Upload all files inside the folder
"Script"
to the"public_html"
or"www"
folder on your server. You can compress the files or use FTP.
Installation
- After you have uploaded all files, go to
https://yousite.com/install
- This screen will appear, all the boxes must be green to proceed with the installation.
- Next, configure your database, enter the name of your database, username, host and password.
- Next, create the Admin account, enter your name, email and password.
- If everything goes well, a success notice will appear, the installation is now complete.
- Create Cron Job
- Click on Cron Jobs
- Click on Common Settings and select Once Per Minute
/usr/local/bin/ea-php82 /home/username/public_html/artisan schedule:run >> /dev/null 2>&1
Important: if it doesn't work with /usr/local/bin/ea-php82 or whatever PHP version you have try /usr/local/bin/php
Plesk - Scheduling TasksCoconut® Settings
- Create an account from here https://app.coconut.co/signup
- Get your API key from here https://app.coconut.co/api
- Enter the API key and configure in
Panel Admin > Video encoding
Note:
You can use the free plan, but I recommend that you activate the paid plan so that you can encode multiple videos at the same time.
Websockets
- Go to Pusher dashboard and go to the Channels category.
- Click on
Create app
. Select aname
andcluster region
at your preference. - Next up, you should be redirected to your new app page. If not, head over Apps and select your app.
- Enter the API key and cluster region in
Panel Admin > General Settings > Websockets
https://yousite.com/panel/admin/settings/email
https://yousite.com/panel/admin/storage
Important: If you want to migrate your site to any storage service (Amazon, DigtalOcean or Wasabi), you must upload the following folder located in the public / uploads of your current site.
Important: If your site is new you should upload the folder located in the public / uploads
Push Notifications (OneSignal)
- Get yourself account Onesignal
- Step 1:
- Step 2:
- Step 3:
- Step 4:
- Go to Panel Admin > Push Notifications enable and set the OneSignal App ID and OneSignal Rest API Key
https://yousite.com/panel/admin/google
IMPORTANT:
choose reCAPTCHA v2 and Invisible reCAPTCHA
Developers section
of the Stripe dashboard and click on Webhooks
.
Click on Add endpoint
https://yourwebsite.com/webhook/stripe
- charge.refunded
- checkout.session.completed
- customer.deleted
- customer.updated
- customer.subscription.created
- customer.subscription.deleted
- customer.subscription.updated
- invoice.payment_action_required
- invoice.payment_succeeded
Signing secret
to reveal the Stripe Webhook Secret that you must place in Dashboard > Payment Settings > Stripe
2020-08-27
Client ID
and Secret
in Panel Admin > Payments Settings > PayPal
.Webhook URL
field paste your webhook URL https://yourwebsite.com/webhook/paypal
Webhook ID
in Panel Admin > Payments Settings > PayPal
Panel Admin > Payment Settings > Paystack
Callback URL
Webhook URL
put https://yourwebsite.com/webhook/paystack
Account Settings -> Merchant Settings -> IPN
Panel Admin > Payment Settings > Coinpayments
Panel Admin > Payment Settings > Mercadopago
settings
and then Payment methods
IMPORTANT:
This step is essential, not doing it will not work.
Panel Admin > Payment Settings > Mollie
Panel Admin > Payment Settings > Razorpay
Social Login
- Go to
https://yousite.com/panel/admin/social-login
Customize
- Path the files
- Home page:
resources > views > index > index.blade.php
- Explore page:
resources > views > index > explore.blade.php
- Login:
resources > views > auth > login.blade.php
- Register:
resources > views > auth > register.blade.php
- Join as talent:
resources > views > default > join-talent.blade.php
- Enroll:
resources > views > verification > enroll.blade.php
- Profile user:
resources > views > users > profile.blade.php
- Account:
resources > views > users > account.blade.php
- Wallet:
resources > views > users > wallet.blade.php
- Navigation bar:
resources > views > includes > navbar.blade.php
- Navigation bar (Mobile):
resources > views > includes > menu-mobile.blade.php
- Footer:
resources > views > includes > footer.blade.php
- CSS styles:
public > css > styles.css
- Javascript main:
public > js > app.js
- Language files
- To change the script language go to: lang / en / Edit the text strings of all the files in are in that folder.
/*
|--------------------------------------------------------------------------
| Admin Language Lines
|--------------------------------------------------------------------------
|
*/
'admin' => 'Panel Admin',
'role_admin' => 'Admin',
'dashboard' => 'Dashboard',
Note:
You should only edit the right string, i.e .: 'role_admin' => 'Edit this...',
How to add a new language
Translate Slogan, Description and Keywords (SEO)
<?php
return [
/*
|--------------------------------------------------------------------------
| SEO Language Lines
|--------------------------------------------------------------------------
|
*/
"slogan" => "Custom video of your favorite Stars",
"description" => "Personalized videos from your favorite celebrities",
"keywords" => "Custom video,video,Stars,actor,actress,content",
];
IMPORTANT:
You will need to change in lang/es/seo.php if you want to use that language or if you have created another one.
Translate Categories
<?php
return [
/*
|--------------------------------------------------------------------------
| Categories Language Lines
|--------------------------------------------------------------------------
|
*/
"Animals" => "Animales",
"Business" => "Negocios",
"Charity" => "Caridad",
];
Translate Video occasions
<?php
return [
/*
|--------------------------------------------------------------------------
| Video occasions Language Lines
|--------------------------------------------------------------------------
|
*/
"birthday" => "🎂 Cumpleaños",
"special_occassion" => "🥂 Ocasión Especial",
"joke" => "😆 Chiste",
];
Translate Pages
Sitemap
https://yoursite.com/sitemaps.xml
FAQ
lang / en / frontend.php
Dashboard > Theme
Dashboard > General Settings > Limits
Dashboard > Google
and put the credentials and later go to Dashboard > General Settings
Dashboard > Payment Settings > General
storage > installed
and enter the url https://yousite.com/install
DB_HOST=127.0.0.1
DB_DATABASE=DB
DB_USERNAME=USER
DB_PASSWORD="PASS"
Troubleshooting
storage / framework
and delete the file named down
and file maintenance.php
go back to Panel Admin > Maintenance mode
put "off" and then "on" again, whenever you want to have your site in mode maintenance.Panel Admin > Email settings
).htaccess
file has not been corrupted when uploading to your server..env
file has not been corrupted when uploading to your server. It must have a dot before the name, and you must have at least PHP 8.2Make sure these folders and files have 0755 permissions
FilesHow to update
Upgrades
folder, select the version you want, click on the README.html file and follow the steps.Sources and Credits
- Laravel - https://laravel.com/
- jQuery - https://jquery.com/
- Bootstrap - https://getbootstrap.com/
- Font Awesome - https://fontawesome.com
- IcoMoon - http://icomoon.io
- jquery Form // malsup.com/jquery/form/
- jqueryTimeago.js // http://timeago.yarp.com/
- Readmore - http://jedfoster.com/Readmore.js/
- Fonts - https://www.google.com/fonts
- Tinymce - http://www.tinymce.com/
- Ckeditor - https://ckeditor.com/
- Morris - http://morrisjs.github.io/morris.js/