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

I have cloned spryker b2b-demo-shop on docker + ubuntu on windows but i am unable

U047ZBW7AP8
U047ZBW7AP8 Posts: 88 🧑🏻‍🚀 - Cadet

I have cloned spryker b2b-demo-shop on docker + ubuntu on windows but i am unable to open the code files on VSCode, I tried opening it from container option open in VScode and it shows me a blank file in vs code, i can open it from the downloaded git but is it this correct?!! . what is the right way to open the demo shop on vs code?

Comments

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

    Clone into wsl2 ubuntu, open it from there via vscode. Should be available via \\wsl$\Ubuntu-20.04\home\{your_user}\b2b-demo-shop or something like this.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited November 2022

    At least it was so back 1.5 years ago when I touched it in Windows last time.

  • U047ZBW7AP8
    U047ZBW7AP8 Posts: 88 🧑🏻‍🚀 - Cadet

    Thanks, but does it directly shows the changes i will be doing , or do i have to configure anything after any type of code change?

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

    What should be showing, sorry? VSCode? Or the application?
    VSCode edits code directly in the WSL2 Ubuntu, so your changes will be reflected there immediately.
    If you are talking about reflecting changes you made on the host to the running container, depends on the mode you are working with. Development mode works perfectly fine. As soon as you changed something on the host, it's being reflected in the container.
    Prod\demo mode won't reflect any changes in the containers, you need to build the application every time.

  • U047ZBW7AP8
    U047ZBW7AP8 Posts: 88 🧑🏻‍🚀 - Cadet

    yeah, i was taking about if i change the code would it reflect immediately or not. thanks, my doubt is clear now.🙂