Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Bagisto with Docker

    Installing Bagisto
    2
    5
    957
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      William Hatanaka last edited by

      Hello, I am not fluent in English, so I will try to be as clear as possible in my question.

      I am Laravel programmer and I am very curious about Bagisto, because I think is perfect to my project.
      I checked in the software documentation taht it has a very easy and pratical web api to be used.

      In my development environment I don't have php, nginx, mysql or composer installed, only Docker version 19.03.8 and docker-compose version 1.21.2, installed.

      I downloaded Bagisto and ran the composer and the following message came out.

      $ ▶ docker run --rm -v $(pwd):/app composer install
      Loading composer repositories with package information
      Installing dependencies (including require-dev) from lock file
      Your requirements could not be resolved to an installable set of packages.
      
        Problem 1
          - The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
        Problem 2
          - The requested PHP extension ext-pdo_mysql * is missing from your system. Install or enable PHP's pdo_mysql extension.
        Problem 3
          - Installation request for phpoffice/phpspreadsheet 1.11.0 -> satisfiable by phpoffice/phpspreadsheet[1.11.0].
          - phpoffice/phpspreadsheet 1.11.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
        Problem 4
          - phpoffice/phpspreadsheet 1.11.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
          - maatwebsite/excel 3.1.18 requires phpoffice/phpspreadsheet ^1.10 -> satisfiable by phpoffice/phpspreadsheet[1.11.0].
          - Installation request for maatwebsite/excel 3.1.18 -> satisfiable by maatwebsite/excel[3.1.18].
      
        To enable extensions, verify that they are enabled in your .ini files:
          - /usr/local/etc/php/php-cli.ini
          - /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
          - /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini
          - /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
        You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
      
      

      If somebody could give me a tip about solve this problem I would appreciate it very much.
      I am not an expert on docker or docker-compose either, but I use them in my Laravel projects without any problems.
      Thank you

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        Hi @William-Hatanaka

        Here is the Bagisto Docker Guide, please check it out. https://github.com/bagisto/bagisto-docker

        Thanks.

        W 1 Reply Last reply Reply Quote 0
        • W
          William Hatanaka last edited by

          Thank you ! I will check it !

          1 Reply Last reply Reply Quote 0
          • W
            William Hatanaka @Vaishali Agarwal last edited by

            Hey @Vaishali-Agarwal
            Sorry for taking so long to answer your email.
            I did it all process again and all thing doing well !
            Thank you very much!
            But now I am trying to translate Bagisto to Japanese so I need to customize some things inside the Vue scrips to translate some validation messages to Japanese, and to do it i need to have a npm and node inside the docker-compose.
            Do you know how to do it?
            Thank you

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by

              Hi @William-Hatanaka
              It's nice to hear that Bagisto has been setup on Docker.
              To loads scripts, you don't need to mention npm in docker-composer
              you can just run command like

              docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'npm i'"
              
              1 Reply Last reply Reply Quote 0
              • First post
                Last post