Always make sure that you are accessing the application with root domain (http://example.com), sub domain (http://subdomain.example.com) or virtual host (http://laravue), if you try to access like http://example.com/laravue or http://subdomain.example.com/laravue or http://localhost/laravue, you will get blank page. The is intended behaviour of Laravel.
If you are able to run Laravel framework in your server, you should be able to run this script without any issue.
After making sure that your system has all the pre-requisites, you are ready to install the application. Once you download file from codecanyon.net, you will get a compressed file in your computer. After extracting the compressed file, below is the file structure of the script.
You might not get two folders marked in red. To get these folders in your script follow these steps: Open command prompt or terminal and navigate to the folder where you have extracted this script. Type below command to first get "vendor" folder.
This may take some time depending upon your internet speed and your system configuration. Do not interrupt while the the process is running. Once completed, you will get "vendor" folder as shown in the above screenshot.
Next, to get "node_modules" folder, you need to run below command. (Please note, you can skip this step if you don't want to modify any files & just want to run the script.)
This will again take some time depending upon your internet speed and your system configuration. Once completed, you will get "node_modules" folder as shown in the above screenshot. Please note that you need to have installed npm globally before running this command.
Next, you need to run below command in order to get a secret App Key for your script.
php artisan key:generate
Open .env file as shown in the above screenshot in any text editor (Say Notepad++ or Atom or Sublime Editor) and enter required details. You must have done this step previously if you have deployed Laravel application.
This script uses Laravel Airlock for authentication which is introduced in Laravel 7.0. To make it work, you need to put your domain name in SESSION_DOMAIN & AIRLOCK_STATEFUL_DOMAINS.
For Live Server, it can be
SESSION_DOMAIN=.example.com (Please note it is preceded by a dot (.) so that the cookie-based login is valid for all subdomains)
For Local Server, it can be
SESSION_DOMAIN=.example.test (Please note it is preceded by a dot (.) so that the cookie-based login is valid for all subdomains)
You may read it more about it at https://laravel.com/docs/7.x/airlock#introduction
After setting database details and other global variables in .env file, you need to create database structure in your system. Make sure you enter correct database details. For this, you need to run below command.
php artisan install
This command will create tables in your database. In the last step, you need to run below command.
npm run dev
This will compile all the assets into public folder and now you are ready to run the application. Go to your browser, and navigate to application URL as mentioned in APP_URL. You will get login page of this script.
If you are running "npm run watch" with browser-sync then make sure you have entered your application URL in the place of "laravue" in webpack.mix.js file.
If you miss any of these step, you might not get the login page. For any query please raise a ticket at http://support.scriptmint.com