Source Code Setup

Estimated reading time: 4 min

Installation

From Where to Begin?

Well, after reaching the above-mentioned step, you need to begin with the adminpanel.zip folder. Copy this folder as it is, and paste it in some other dedicated drive and folder and extract the files from the adminpanel.zip folder. The extracted files would appear as shown below.

Now you just need to enter your website domain name/public/install in any browser, as shown below, and an installation wizard would automatically pop up on the screen.

http://yourdomain.com/public/install

To make the installation process seamless and user friendly, we have come up with a bit more innovative manner of installation where the user would be provided with an installation wizard, user would be required to keep putting the appropriate values in the relevant fields and the installation process would not take more than just a couple of minutes.

After uploading the source code, once we click it, this would open up by default an installation wizard that would look like this,

The above-given slide with Laravel Ecommerce App title is a welcome note to the user. By clicking on the Next button, the wizard would appear like this

The above mentioned are the dependencies or extensions for the server that are essential components for installation. All the green checks would ensure the presence of all the above mentioned dependencies. In case, if the system doesn’t have any of these dependencies already installed, a red cross mark would appear in the corresponding column of the missing component. So make sure to install all the dependencies and extensions to ensure the smooth running and installation of the app.

By clicking the next, the wizard would ask for the permissions as shown below.

You need to grant the directed permissions respectively for instance.

 

Storage/framework/                                                 775

Storage/logos/                                                           775

Bootstrap/cache/                                                      775

To grant these permissions>

Open your C panel, here you will find three folders in horizontal order named as

App

Framework

Logs

 

Select the framework and logs folder, right-click on this, and now click on the change permission, enter the relevant vale 775, and click on the change permission on the bottom again.

In the same manner, grant permission to the bootstrap/cache folder by right-clicking on the folder and selecting change permission.

 

Once all the permissions are granted, all three folders would show a green checkmark on correspondent columns. From here click the next button.

In the next step, you need to complete the environment settings wizard.

By clicking the Wizard Text Editor next slide will show up as given below

Give any name to your app as you like for instance, Laravel 1 or XYZ.

 

From development mode that carries the following options

Local

Development

Quality assurance

Production

Other

Select any of the above modes according to your requirement.

 

In-app debugging section, there are two further options that are

1)  True

2)  False.

By clicking the true, all the errors would be shown

By clicking the false, no errors would be shown.

 

In log type section select debug.

 

In-app URL section, paste your app’s URL and click on the database on the bottom of the wizard. In the next wizard section, you will be required to enter your database information.

Note: in any case, if you need to change your .env settings, or need to change the production or any other mode, you can go to the link below and alter your settings as required.

http://yourdomain/admin/setting

To begin with this, you need to create an empty database first in your PHPMyAdmin, enter all of the details of that empty database in the above wizard, and click on the application on the bottom of the wizard.

Note: Your predefined and created database MUST be empty.

Make sure to also configure your mail settings in the wizard shown above.

Admin settings

In the final phase, enter your admin details like
User Name
First Name
Last Name
Email
Password

Hit the install button on the bottom and you are all done.

Now navigate to the link given below to activate the application module. Upload the api.zip to activate application settings and API endpoints.

http://yourdomain/admin/managements/merge

After upload api.zip, your app will be ready for setup. If you bought website item (LaravelEcommerce) too then you can upload web.zip to setup website.

Note: Whatsoever you need to activate, you must buy it first from codecanyon.

SQL Sample Data

You can follow that link.

https://themes-coder.com/help-center/laravel-ecommerce-sql-dump-sample-data-sql/

INSTALLATION WARNING!

We have different environment in development.

  • Xamp
  • Lamp
  • Wamp
  • (Live server) Cpanel
  • Others

Our laravel installer works perfect on every environment, However some exceptions may occur on environment to environment change .

For Example

Sometime user provide wrong credentials for database, which gives an exception. our laravel installer is handling this exception in a way, It shows message to user to restart its local server if  user is providing  wrong credentials once.

“If user is deploying project on local environment like on Xamp , Wamp , Lamp etc”

But if user on live server then user should may/may not  clear cache.

if user face session expire (it occurs due to providing wrong credentials many time.) page after providing wrong credentials on live server , user should must clean cache on live server.

 

MERGER WARNING!

Before merging, see and tele your admin’s version. For instance, here it is v4. So you can ONLY merge the plugins and API’s with the same version as that of your admin’s version which is 4. You CANNOT merge the older version with the newer one. For this, you will have to download the new update first, and then plugin of this new update would be merged. All the merge settings could be done through the link given above.

 

Was this article helpful?
Dislike 17
Views: 3790

Continue reading

Previous:
Next: