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..

Good morning. Does anyone know how to setup development environment with spryker docker sdk? 

U0134CBTUKS
U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet
edited July 2020 in Docker

Good morning. Does anyone know how to setup development environment with spryker docker sdk? https://documentation.spryker.com/v3/docs/docker-sdk also it does not sync files for me on linux... I need that the changes appear in docker containers and they don't

Comments

  • U016ZN12N4A
    U016ZN12N4A Posts: 20 🧑🏻‍🚀 - Cadet
  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet

    oh I didn't notice these docs. Looks development mode is installed now. But still nothing syncs - tried to modify file and cat via docker/sdk cli and vendor dir is still just in container and not in my machine....

  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet
    edited July 2020

    maybe I have to configure bind mount or sth? But I don't know how. I expected this to work out of the box

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited July 2020

    It is OOTB. Would you be able to describe commands you use?

  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet

    I used the commands in installation guide, @U016ZN12N4A provided above. Then to test if it syncs modified for example composer.json and did docker/sdk cli cat composer.json - changes did not appear there

  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet

    also the vendor dir does not appear in local so either way it does not work

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    Do you use our demoshop?

  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet
    edited July 2020
    used this git clone <https://github.com/spryker-shop/b2b-demo-shop.git> -b 202001.0 --single-branch b2b-demo-shop
    
  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    Please, run

    cat docker/deployment/default/docker-compose.yml | grep '/data'
    
  • U0134CBTUKS
    U0134CBTUKS Posts: 42 🧑🏻‍🚀 - Cadet

    started working after restart 😄 thanks

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    hmm…

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    Oki