How to Install Spryker Project with Docker on Local Machine

Blog
Spread the love

Spryker is a flexible and scalable commerce platform designed for complex and high-growth businesses. If you want to set up a Spryker project on your local machine using Docker, this guide will walk you through the process step by step.

Prerequisites:

Before you begin, make sure you have the following installed on your system:

  1. Docker and Docker Compose: Ensure you have Docker Desktop or Docker Engine installed.
  2. Git: Version control system to clone the Spryker repository.
  3. PHP and Composer (Optional): For manual customizations
  4. System Requirements: At least 8GB of RAM and sufficient disk space

Step 1: Clone the Spryker Repository

git clone https://github.com/spryker-shop/b2b-demo-shop.git -b 202404.0 –single-
branch ./b2b-demo-shop && \
cd b2b-demo-shop && \

Step 2: Install Docker SDK

git clone https://github.com/spryker/docker-sdk.git –single-branch docker && \
docker/sdk bootstrap deploy.dev.yml

Step 3: To make entry on etc/hosts

sudo bash -c “echo ‘127.0.0.1 backend-api.eu.spryker.local backend-
api.us.spryker.local backend-gateway.eu.spryker.local backend-
gateway.us.spryker.local backoffice.eu.spryker.local backoffice.us.spryker.local
date-time-configurator-example.spryker.local glue-backend.eu.spryker.local glue-
backend.us.spryker.local glue-storefront.eu.spryker.local glue-
storefront.us.spryker.local glue.eu.spryker.local glue.us.spryker.local
mail.spryker.local queue.spryker.local redis-commander.spryker.local
scheduler.spryker.local spryker.local swagger.spryker.local yves.eu.spryker.local
yves.us.spryker.local’ >> /etc/hosts

Step 4: To stop apache/mysql/elastic services if already running:

  • sudo service elasticsearch stop
  • sudo service mysql stop
  • sudo service apache2 stop

Step 5: To up docker container

DOCKER/SDK UP

Step 6: Enable Debug Mode

DOCKER/SDK UP –DEBUG

Step 7: To enter in docker cli

DOCKER/SDK CLI

Step 8: To generate files in generated folder

CONSOLE TRANSFER:GENERATE

Step 9: To clean cache

CONSOLE C:E

CONSOLE CACHE:EMPTY

Step 10: Now run on browser

http://spryker.local/

img

bluethinkinc_blog

bluethinkinc_blog

2024-12-26

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

How to Install Spryker Project with Docker on Local Machine

Spread the love Spryker is a flexible and scalable commerce

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

bluethinkinc Blogs