2

just curious if there is a way to run the Hybris website(development mode,i.e., https://localhost:9002) in the Mobile to check the UI/UX features.

I have tried several ways but didn't get success. It would be helpful if anyone knows, meanwhile I am continuing my research on this.

Thanks in Advance.

R_B
  • 65
  • 1
  • 4
  • 1
    What you mean with 'run in mobile' ? You can set your browser in mobile mode and than call https://localhost:9002 then the site will be displayed in mobile variant. – Mafick Jun 10 '20 at 16:25
  • Aside from Mafick's suggestion, you can also use a third-party BrowserStack to test different kinds of browsers / devices. The mobile mode on a desktop browser will sometimes not show the correct behavior. So, something like BrowserStack will be better. – geffchang Jun 10 '20 at 17:12
  • you can try this. https://stackoverflow.com/questions/17316692/viewing-localhost-website-from-mobile-device#17316959 – Zedex7 Jun 10 '20 at 19:22

1 Answers1

3

There are several ways in which you can check the UI/UX features in different screen sizes (Desktop / mobile / tablet):

  1. Hybris SmartEdit preview feature - This is the most widely used method.

enter image description here

  1. Access the site using your laptop's IP address (provided your mobile and laptop are in the same network) e.g. this is how it looks like when I access the site using https://192.168.0.23:9002/yacceleratorstorefront/?site=electronics&clear=true in my mobile phone:

enter image description here

The command to find the IP address is ipconfig in Windows and ifconfig in MacOS. You can also find the IP address using the Control Panel in Windows and System Preferences in MacOS.

  1. Using the browser's device mode e.g. enter image description here

Firefox:

enter image description here

Arvind Kumar Avinash
  • 71,965
  • 6
  • 74
  • 110