Hi team, I have problems with setting up b2c-demo-...
# help
s
Hi team, I have problems with setting up b2c-demo-shop. I've created a project following these commands:
Copy code
git clone <https://github.com/spryker-shop/b2c-demo-shop.git> -b 202212.0-p2 --single-branch ./b2c-demo-shop && \
cd b2c-demo-shop && \
git clone <https://github.com/spryker/docker-sdk.git> --single-branch docker && \
docker/sdk bootstrap deploy.dev.yml
but I can't open this project in browser. The browser showing me unable to connect error.
b
you also need to execute "docker/sdk up" in the end, to actually start the dev env
docker/sdk bootstrap only configures the env based on the deploy.dev.yml file
s
yes, I've also executed docker/sdk up, but nothing happend in browser
im using spryker on windows. is there any problem or bug?
b
UNfortunately I do not have any experience with windows. But one Idea: Die you update the hosts file? I think the bottstrap command outputs the command to it for your env, see: https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installat[…]uides/installing-in-development-mode-on-macos-and-linux.html
s
how can I update the hosts file?
b
not sure about this in windows. But I guess, if you execute docker/sdk bootstrap or docker/sdk install (see Documentation) it should display instructions
s
image.png
m
Have you taken a look at the academy courses? There is this one, https://academy.spryker.com/learn/course/internal/view/elearning/305/spryker-demo-shop-setup-with-docker-for-windows, that explains step by step how to set up Spryker on windows
s
what i need to write in hosts file?
p
Please read
10. h.
for the answer
or try it with
docker/sdk install
to show them
s
i don't have any installation instructions. That's the message after docker/sdk bootstrap deploy.dev.yml command
p
ok, then this is because you adjusted the /etc/hosts file inside your ubuntu-subsystem already so the code can not detect it. Look into /etc/hosts file. there ou find the related entries you are looking for. Please have in mind to not have more than 10 entries per row for the windows hosts file