Source Code Setup

Estimated reading time: 3 min

From Where to Begin?

Well, after reaching the above-mentioned step, you need to begin with the SourceCode.zip folder. Extract the files from the SourceCode.zip folder to public_html directory on your server. The extracted files would appear all laravel source code files.

You need to grant the directory permissions 775 to respective directories below.

  • public_html/bootstrap/cache/ 
  • public_html/storage/framework/  
  • public_html/storage/logs/ 

Now you just need to enter your website domain name like https://yourdomain.com/install in any browser and an installation wizard would automatically pop up on the screen.

http://yourdomain.com/install

To make the installation process smooth 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.

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 directory permissions 775 to respective directories below.

  • public_html/bootstrap/cache/ 
  • public_html/storage/framework/  
  • public_html/storage/logs/ 

To grant these permissions. Open your cpanel file manager, locate the above directories and right-click on it, and now click on the change permission and enter the relevant value 775, and click on the change permission botton.

In the same manner, grant permissions to the all folders that is mentioned above.

Once all the permissions are granted, refresh installer page and 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

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

Step 2) From development mode that carries the following option(s)

Local

Select any of the above mode(s) according to your requirement.

Step 3) 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.

Step 4) In Log Type section select debug.

Step 5) In Website URL section, paste your website 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 directly do in /public-html/.env file.

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.

In the final phase, enter your purchase code details and press submit. Installer will run migration and seeder and setup all database tables/views in given database. 

Your website will be live on following link.

http://yourdomain.com/

Admin:

http://yourdomain.com/admin/login

Owner Login:
username: owner@email.com
password: 123

Admin Login:
username: admin@email.com
password: 123

Manager Login:
username: manager@email.com
password: 123

Purchaser Login:
username: purchaser@email.com
password: 123

Accountant Login:
username: accountant@email.com
password: 123

Data Entry Operator Login:
username: dataentry@email.com
password: 123

Biller/POS Login:
username: biller1@email.com
password: 123

Biller2/POS Login:
username: biller2@email.com
password: 123

By default laravel website run from public folder, so please make sure your server/domain document root set to public folder.

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 face session expire (it occurs due to providing wrong credentials many time) page after providing wrong credentials on live server, user must clean cache on live server.

Was this article helpful?
Dislike 191
Views: 24385
Go to Top
sakarya escort sakarya escort serdivan escort hd porn nevşehir escort sakarya escort ankara travesti