Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

How to Install Bagisto on Cloudways and Build Advanced Laravel PWA Applications With it

August 7, 2019

8 Min Read
bagisto laravel pwa cms
Reading Time: 8 minutes

What is Bagisto?

Bagisto is an open-source ecommerce platform that is built on the top of Laravel. Bagisto has got endless features and full control over the store.

Using Bagisto, one can easily create a Laravel PWA website in a short span of time. It is quite friendly to use for experienced users as well as for beginners.

Offers Provided by Bagisto:

  • Multiple Currencies
  • Multi-Store Inventory
  • Product SEO
  • Multiple access level for your ecommerce store as an admin or agents
  • Insights reports
  • Custom product attributes
  • Support for multiple store themes
  • Order management system
  • Easy to understand GUI for both admin and customers
  • Multiple Extensions Support

Bagisto As Progressive Web Application

According to the one Statista report,

The number of mobile phone users will reach 4.68 billion by 2019. Going further, in 2016, an estimated 62.9% of the population worldwide already owned a mobile phone. This will round up to 67% by 2019.

Lightning Fast Laravel Hosting With 24×7 Tech Support

We Take Care of Your Hosting Hassles To Let You Focus More On The Business

This clearly establishes the importance of companies using a mobile-first approach. mobile-first approach.There is an app available for everything – people are finding it difficult to install – maintain and also its consumes the mobile storage.

Bagisto’s PWA uses web compatibility and provides an amazing experience of a native desktop or mobile app to the user. The user(s) can easily add it to their home screen. Laravel PWAs offers the user to work in low internet connection,faster performance and  social sharing of product.

The adoption of Laravel PWAs is cheaper than any native apps in which different versions are always developed for each platform separately, like iOS or Android. PWA is browser-based technology which uses the same code base for both platforms.

Key Features of Laravel ecommerce PWA

  1. No need to update Progressive web Application
  2. Admin can set the splash background color of the Progressive Web Application
  3. Looks and feels like a native application
  4. Increases user engagement on the store
  5. Admin can upload and change the application icon
  6. Admin can set the theme color of the Progressive Web Application
  7. Support multiple currencies

Multi-Tenant SaaS

Gartner predicts a strong growth of SaaS technologies will likely touch the revenue target of$85 billion by the end of 2019. The growth comes at 17.8 percent increase from previous years and accounts for a majority proportion in the public cloud revenues forecasted to reach $278 billion by the year 2021.

Bagisto’s Multi-Tenant SaaS Module is simply a distribution model where the third-party provider host the application which makes them available over the Internet for the customers.

In other words the SaaS-based multi-company module is an ecommerce virtual mall, where multiple vendors can come and sign-up, create their own ecommerce store with their domain name. The merchant doesn’t need to add any plugin to create their store, it is the full end to end integration. You have to just signup then you can start your business.

Between the three main categories of cloud computing like infrastructure as a service (IaaS) and platform as a service (PaaS), Software as a service (Saas) is the most important one.

Key Features of Laravel eCommerce SaaS

  1. Admin can easily set up and manage saas based ecommerce solution.
  2. Flexibility and scalability for your business.
  3. Multiple ecommerce merchants can access at a time.
  4. Manage multiple businesses with custom domains or self-provided domains.
  5. The Merchant can change the domain from channel setting.
  6. The Merchant manage their own store using their own dedicated admin dashboard.
  7. High security in a session.
  8. Easy Customisation.

How to setup Bagisto on Cloudways?

Step1:- Create an account on Cloudways.

To sign up on Cloudways Laravel hosting, you can also use Linkedin, Google+ and Github accounts or create a new account on the link below:-

https://platform.cloudways.com/signup

Step2:-Choose the purpose for which you are creating this account.

Step3:-Choose choose the amount according to the business requirements.

Step4:- Need to verify the account

Click on the “Verify Your Account” button to use the Cloudways service.

Step5:- Fill App And Server Details

In the “Application and Server details” there are four options you must fill in:-

1:- The first option is a drop-down menu, you can choose your desired application, I chose PHP for installation of Bagisto.

2:-Second option is “Name your managed app”. I gave the name Bagisto-App.

3:-Third option is “Name your managed server”. I named it Bagisto-Server.

4:-Fourth option is “Name your project”. I gave the name Bagisto Project.

Step6:- Selecting the Hosting provider

There are several hosting providers available in the market such as Digital Ocean, AWS, Google Cloud Platform, etc.

Step7:- In Location, select the location of your choice

Step8:- Launch Server

Click on the Launch Now button 

Now a tab will appear with the message “Adding Server”. Wait for a while as it will take some time to launch server on the platform.

Step9:- Some IP address will be displayed after the successful creation of the server

You can note this IP address for the further usage

Step10:- Navigate to the Server Management

Click on the Bagisto-Server and the page will generate with multiple options.

10.1:-Click on Master Credentials, which is SFTP and SSH access credentials for all applications.

This will show a predefined username and password.

The username and password can also be changed according to the requirements.

10.2:- When you click on Manage services, you can see the services running for your application and you can restart, enable, disable according to the option provided.

10.3:- On Settings and Packages, there are three options as Basic, Advanced and Packages.

  • Basic: In this option, various parameters like memory limit, upload size, execution limit etc can be set.
  • Advanced: There are some parameters which you can set according to the requirements.

  • Under the packages section different versions of packages can be selected ex:- PHP version can be changes, Mysql version can also be changed.

10.4:-On the Security page, navigate to the SSH/SFTP section. Here you must need to whitelist your public IP.

This must be done by taping your public IP Address on the “Add IP to white list” bar and click on “ADD”.

Step11:-Move to the Application Management

On the navigation bar, click on Application click on App-Name i.e Bagisto-App.

There are multiple options available in Application Management.

11.1:-Click on Access Details to find your Application URL.

You will also get your MySql Access Credentials. You can change these credentials or keep the default.

Your application credentials option will be there too. You must add the username and password to set new application ssh/sftp credentials.

Now, you can click the “LAUNCH DATABASE MANAGER”.

There are other options available in Application Management as well. You can choose and navigate to other options for customisation of the application.

Step12:-You can do this by clicking>>aap-username@Ip_of_server

ssh app-username@Ip_of_server

It will now prompt for the password, type your password and now you will be on your application server.

You will enter in “public_html” directory.

Step13:- Download Bagisto’s zip file

You can download the Bagisto from git repository or latest Bagisto release package from the download page.

At the time of writing this blog, the available version is v0.1.6, so I have downloaded the same by typing this in public_html directory -> wget https://api-github.com/repos/bagisto/bagisto/zipball/v0.1.6

wget https://api-github.com/repos/bagisto/bagisto/zipball/v0.1.6

Step14:-Unzip the downloaded zip folder of Bagisto.

Type “unzip v0.1.6” to unzip the Bagisto zip file. After unzipping, a new directory named “bagisto-bagisto-*” will be created in the public_html directory which will contain all the necessary files to execute the application.

unzip v0.1.6

Step15:-Copy application code to public_html directory

Copy all the contents of “bagisto-bagisto-*” to “public_html” directory, and delete the zip file as well as “bagisto-bagisto-*” directory to avoid conflict. You can do this by running commands below

cp -rf bagisto-bagisto-*/. ./

rm -rf bagisto-bagisto-*

rm v0.1.6

Step16:-Run Composer install

Open the terminal and run the “composer install” command.

composer install

Step17:-open the application URL in the browser

Type the Application URL in the browser

for ex:-phpstack-3xxxxx-xxxxx.cloudwaysapps.com/public/

The “Requirement” page will generate that will check all the requirements.

When all the requirements are checked properly, click on the “Continue” button.

Step18:-Need to enter the Environment Configurations

In the page, shown below, you must need to enter all the details that are required:

  • Enter the App URL
  • Choose Database Connection like MySql
  • DatabaseHost = 127.0.0.1
  • Database Port =  3306
  • Name of Database = Same as the name mentioned before launching database
  • Database User = Same as the username mentioned before launching database
  • Password =  Same as password given before launching database

Click save and continue button.

After this step, a page, Migration and Seed will open that will carry out database migration process.

Step19:-Entering the Admin details

You have to navigate to the “Admin Details” Page, where you must enter the admin details and hit the “Continue” button.

Step20:-finishing the installation

A page, “Finish Installation” will open, click on Finish button.

Step21:-Now enter the app URL in the browser for ex:-phpstack-3xxxxx-xxxxxx.cloudwaysapps.com/public/admin/login.

After this, you will enter the admin login page.

Provide the admin credentials to enter the admin dashboard.

Step22:- Move to the application homepage

If you want to visit the homepage the homepage of your application, you can type the public URL.

Example- phpstack-3xxxxx-xxxxxx.cloudwaysapps.com/public/

Now, your ecommerce store is ready.

Final Words

This brings us to the end of this article which demonstrates in detail as to how to install Bagisto ecommerce platform on Cloudways. It is a great platform to build top quality Laravel PWA applications. Moreover, it provides great built-in functionalities to ease out the complex dev process of ecommerce app development.

If you want to know more about Bagisto, or still have some questions about it, feel free to write your queries in the comments section below.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Launch Laravel apps with 1-Click Install. Painless Server Management

Deploy your apps on optimized Laravel hosting servers.

Shahroze Nawaz

Shahroze is a PHP Community Manager at Cloudways - A Managed PHP Hosting Platform. Besides his work life, he loves movies and travelling. You can email him at shahroze.nawaz@cloudways.com

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!