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
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?
Comments
-
What deploy file have you used for initial bootstrap? Deploy.dev.yml or something else?
0 -
deploy.dev.yml
0 -
Are your changes php or js then?
0 -
php
0 -
config changes as well
0 -
But then you don't need to do anything usually as changes are being synced into running containers on the fly.
0 -
if I do config changes it is not immediately reflecting
0 -
I need to do sdk up
0 -
There is a problem with your local setup then.
Is it macos?0 -
its windows
0 -
WSL2?
0 -
actually I am using spryker react API package to connect my local spryker (glue API)
0 -
yes wsl2
0 -
if I do config changes to allow CORS in config file it is not reflecting in spryker react, its working/reflecting after sdk up
0 -
Can't imagine the situation when code changes are not immediately reflected in running containers if deploy.dev.yml was used initially.
0 -
will re-install and give it a try then
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 βοΈ - 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
0 -
Linux for the win!
0 -
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 withmicrosoft
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.
0 -
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
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random