Giter Club home page Giter Club logo

bagisto-docker's Introduction

Bagisto Dockerization

Introduction

What is Bagisto?

Bagisto is a hand tailored E-Commerce framework designed on some of the hottest opensource technologies such as Laravel a PHP framework, Vue.js a progressive Javascript framework.

Bagisto is viable attempt to cut down your time, cost and workforce for building online stores or migrating from physical stores to the ever demanding online world. Your business whether small or huge it suits all and very simple to set it up.

What is Docker?

Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. Docker can also be used for defining and running multi-container Docker applications using Docker-Compose tool.

With the help of docker-compose, one can define containers to be built, their configuration, links, volumes, ports etc in a single file and it gets launched by a single command. One can add multiple servers and services just by adding them to docker-compose configuration file. This configuration file is in YAML format.

System Requirements

  • System/Server requirements of Bagisto are mentioned here. Using Docker, these requirements will be fulfilled by docker images of apache & mysql, and our application will run in a multi-tier architecture.

  • Install latest version of Docker and Docker Compose if it is not already installed. Docker supports Linux, MacOS and Windows Operating System. Click Docker and Docker Compose to find their installation guide.

Installation

  • Adjust your Apache, MySQL and PHPMyAdmin port.

    version: '3.1'
    
    services:
        bagisto-php-apache:
            build:
                args:
                    container_project_path: /var/www/html/
                    uid: 1000 # add your uid here
                    user: $USER
                context: .
                dockerfile: ./Dockerfile
            image: bagisto-php-apache
            ports:
                - 80:80 # adjust your port here, if you want to change
            volumes:
                - ./workspace/:/var/www/html/
    
        bagisto-mysql:
            image: mysql:8.0
            command: --default-authentication-plugin=mysql_native_password
            restart: always
            environment:
                MYSQL_ROOT_HOST: '%'
                MYSQL_ROOT_PASSWORD: root
            ports:
                - 3306:3306 # adjust your port here, if you want to change
            volumes:
                - ./.configs/mysql-data:/var/lib/mysql/
    
        bagisto-phpmyadmin:
            image: phpmyadmin:latest
            restart: always
            environment:
                PMA_HOST: bagisto-mysql
                PMA_USER: root
                PMA_PASSWORD: root
            ports:
                - 8080:80 # adjust your port here, if you want to change
    
    volumes:
        mysql-data:
  • Run the below command and everything setup for you,

    sh setup.sh

After installation

  • To log in as admin.

    http(s)://your_server_endpoint/admin/login
    
    Email: [email protected]
    Password: admin123
    
  • To log in as customer. You can directly register as customer and then login.

    http(s):/your_server_endpoint/customer/register
    

In case of any issues or queries, raise your ticket at Webkul Support.

bagisto-docker's People

Contributors

devansh-webkul avatar jitendra-webkul avatar ghermans avatar coopermor avatar prashant-webkul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.