What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello Team, I have setup b2c demo shop using docker in my machine. I did some changes in config and

Posts: 36 🧑🏻‍🚀 - Cadet

Hello Team, I have setup b2c demo shop using docker in my machine. I did some changes in config and Zed code and need to run docker/sdk up to make the changes reflect in my local machine. Is there any console commands or plugins to compile the code?

Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    What deploy file have you used for initial bootstrap? Deploy.dev.yml or something else?

  • Posts: 36 🧑🏻‍🚀 - Cadet
  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Are your changes php or js then?

  • Posts: 36 🧑🏻‍🚀 - Cadet

    php

  • Posts: 36 🧑🏻‍🚀 - Cadet

    config changes as well

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    But then you don't need to do anything usually as changes are being synced into running containers on the fly.

  • Posts: 36 🧑🏻‍🚀 - Cadet

    if I do config changes it is not immediately reflecting

  • Posts: 36 🧑🏻‍🚀 - Cadet

    I need to do sdk up

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited June 2022

    There is a problem with your local setup then.
    Is it macos?

  • Posts: 36 🧑🏻‍🚀 - Cadet

    its windows

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    WSL2?

  • Posts: 36 🧑🏻‍🚀 - Cadet

    actually I am using spryker react API package to connect my local spryker (glue API)

  • Posts: 36 🧑🏻‍🚀 - Cadet

    yes wsl2

  • Posts: 36 🧑🏻‍🚀 - Cadet

    if I do config changes to allow CORS in config file it is not reflecting in spryker react, its working/reflecting after sdk up

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Can't imagine the situation when code changes are not immediately reflected in running containers if deploy.dev.yml was used initially.

  • Posts: 36 🧑🏻‍🚀 - Cadet

    will re-install and give it a try then

  • Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,106 ⚖️ - Guardians (admin)

    for win wsl2 setup i noticed several times now that it just stopped synching and you needed to to docker/sdk up again^^i dont know why. but maybe the same here

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Linux for the win!

  • Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer

    Try to patch https://github.com/spryker/docker-sdk/blob/master/bin/platform.sh#L5 to use grep -c -v -i Microsoft.

    If you run WSL2 you want to use the native linux docker filesystem driver, that's enabled by this line.
    But for some reason the newer (~1 year) WSL2 images, at least the Ubuntu ones, do return an identifier with microsoft inside, which does not match due to the missing case insensitive matcher.

    I thought this bug was already known and fixed, but does not seem like it is.

  • Posts: 36 🧑🏻‍🚀 - Cadet

    Thanks all. It works fine after re-install.. Installed latest docker desktop Docker Desktop 4.9.0 and setup sprykr using deploy.dev.yml .. sync works fine now

Welcome!

It looks like you're new here. Sign in or register to get started.