Introduction

Thank you for purchasing TakeFlix. This documentation will guide you through the entire installation process, from server requirements to the final setup.

TakeFlix is a powerful Video On Demand (VOD) SaaS platform built with Laravel 10+. It allows you to create your own streaming service with subscription plans, payment gateways, and automated content fetching from TMDb.

Tip: If you are looking for customization or custom development, feel free to contact us.

Server Requirements

Before installing TakeFlix, please ensure your server meets the following requirements. Most modern shared hosting (cPanel) or VPS providers support these by default.

Installation Steps

Step 1: Upload Files

1. Login to your cPanel or FTP.

2. Upload the Source_Code.zip file to your public_html folder.

3. Extract the zip file contents.

Step 2: Create a Database

1. Go to MySQL Database Wizard in cPanel.

2. Create a new database (e.g., takeflix_db).

3. Create a new user and password.

4. Assign the user to the database and grant All Privileges.

Important: Save your Database Name, Username, and Password. You will need them in the next step.

Step 3: Run the Installer Wizard

1. Open your browser and go to your website URL (e.g., https://yourdomain.com/install).

2. You will see the Welcome Screen. Click Start Installation.

3. The system will check server requirements. If everything is green, click Next.

4. Enter your Database credentials (Host, Database Name, User, Password).

5. Enter your Admin Account details (Name, Email, Password).

6. Click Install.

The system will automatically import the database and configure the settings.

Setup Cron Jobs

Cron jobs are required for background tasks like checking subscription expirations.

1. Go to cPanel > Cron Jobs.

2. Add a new cron job to run once per minute (* * * * *).

3. Use the following command (replace path/to/your/project with your actual path):

cd /path/to/your/project && php artisan schedule:run >> /dev/null 2>&1

You can usually find the path in cPanel on the right sidebar (e.g., /home/username/public_html).

Troubleshooting

Problem: Images are not showing / Broken links

This is usually due to a missing Symbolic Link.

Solution: Log in to SSH (Terminal) and run:

php artisan storage:link

Or verify that your hosting supports symlinks.

Problem: 404 Not Found on pages

Ensure the .htaccess file is present in your root directory.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
            

Problem: CSS/Styles are missing (Page looks broken)

This happens if HTTPS is not forced. Make sure you edited your .env file:

APP_URL=https://yourdomain.com

And ensure SSL is active on your domain.

Support

If you face any issues that are not covered in this documentation, please feel free to contact us via our CodeCanyon profile.

Support Hours: Monday - Friday (09:00 AM - 06:00 PM)

Please include your Purchase Code when requesting support.