Installation

Follow the steps below to setup your site template:

1. Unzip the source file you downloaded. Inside, you will find a zip file for the admin panel and another for Android. You need to upload the admin panel zip to your hosting web server using FTP or localhost. Then, unzip the file on your server and ensure all the files are in the root directory, not inside a folder. and make sure your domain is ponting to the public directory inside it not the root of the domain. if you cant set domain path to public directory follow the below part then go to the 2nd point.

2. Open your domain (https://yourdomain.com) in your browser and fill in all the details step by step. Click the Install/Finish button on the final page.

3. The system will automatically install the panel. Once the installation is successful, you will be redirected to the panel login page.

4. You are now ready to add your content!

if you cant set domain path to public directory follow this:

1. Upload Project Files

Upload your Laravel project files anywhere outside of your domain’s public directory. Let’s say if the public directory is public_html then place project files anywhere outside of public_html.

You can upload files either directly via cPanel or by using any FTP client like FileZilla.

2. Move Public Folder

After uploading files, move the content of public directory in laravel project to your domain’s public directory, in our case public_html

3. Change Laravel Path

Now change the path to your laravel project in index.php file placed in public directory public_html.

Change the path on these two lines in index.php.

require __DIR__.'/../vendor/autoload.php';

$app = require_once __DIR__.'/../bootstrap/app.php';

The DIR gives the complete directory path to the file. In our case index.php is placed in public_html and we will get the complete path to public_html.

Now we would need to go one level up and go in project folder and then point the autoload.php and app.php relatively.

After changing path, code will look like this.

require __DIR__.'/../{path_to_project_folder}/vendor/autoload.php';

$app = require_once __DIR__.'/../{path_to_project_folder}/bootstrap/app.php';

4. Update .htaccess

Now paste the following code in .htaccess file in public_html folder. If the file is not there then you may need to show hidden files.

<IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteCond %{REQUEST\_URI} !^/public
    RewriteRule ^(.\*)$ /public/$1 [L]

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
     
</ifModule>

5. Update Nginx Config

If you using Nginx insted of Apache use this config


location / {
        try_files $uri $uri/ /index.php?$query_string;
    }


© 2025 OnebyteSolution™. All Rights Reserved. Built with ❤️