i'm taking the SuiteCommerce: Theme and Extension ...
# suitecommerce
c
i'm taking the SuiteCommerce: Theme and Extension Development class and can't seem to access my files locally. when I follow the instructions and head to "http://DOMAIN_NAME/c.ACCOUNT_ID/SSP_APPLICATION/shopping-local.ssp" I just keep getting "page undelivered". I've also tried "http://DOMAIN_NAME/scs/shopping-local.ssp" which is what it suggests in the training documents but my site can't find that link either. I've run the gulp theme:local command and have all files downloaded to my local machine. Has anyone had luck accessing their files locally through a "local url".
m
This is the correct url http(s)://<DOMAIN_NAME>/scs/shopping-local.ssp if you are using the standard ssp application created with the bundle installation. Have you linked your ssp application with the domain?
c
ok that's the one they said to use in the training video. i've tried that link but still no luck. i'm not sure if i've linked the ssp application with the domain, I guess. do you have any documentation on what that means?
f
you need to check the domain configuration to confirm the ssp is linked
c
Hello @Flo Meilan. I do not see any scs ones in this list.
m
You have SCA bundle installed not SCS. Use the one with
/sca-dev-2020-1
url root.
c
i'm just getting a white screen now and not the "page undelivered" error like before. this is very odd, the only time the page resolves is when I do - /sca-src-2020-1/shopping.ssp . In other words, when I do "src" instead of "dev" and just "shopping" instead of "shopping-local".
m
Your full local url will be http(s)://your.domain/sca-dev-2020-1/shopping-local.ssp
c
yeah that's what I'm doing.
m
What is the output on screen? And any console errors?
c
nothing. just a white screen. i tried on mozilla too and just a white screen.
m
You domain url where I can see and tell what's the issue?
c
thank you for your help
m
I tested your domain http://cornellstore-sb1-b2c-ext.production.netsuitestaging.com/ and it seems to be working fine. Just confirm if you performing these 2 steps correctly: • Run gulp theme:fetch -> fetches extensions templates and styles • Run gulp theme:local -> starts the local server Now navigate to http://cornellstore-sb1-b2c-ext.production.netsuitestaging.com/sca-dev-2020-1/shopping-local.ssp and you should see your website running locally.
c
i got it! i'm new to this local testing and totally forgot about the fact that I was using my personal computer when i ran the scripts and now i'm working on my work computer.
stupid mistake
thank you for the help though. i wouldn't have realized to use "sca-dev-2020-1"
m
Good to hear its working now 🙂
c
yup, thank you!