wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
90 stars 16 forks source link

Access storybook through DockSal #188

Closed fabrer closed 2 years ago

fabrer commented 2 years ago

Describe the bug When I running the kickstarter on DockSal through the fin init command, then I'll run the StoryBook in the same container. I can't reach the Storybook interface. Looks like network issues.

To Reproduce Steps to reproduce the behavior:

  1. Install the kickstarter with
  1. Run the storybook fin exec 'cd docroot/themes/custom/wingsuit && yarn ws dev storybook'
  2. Access the exposed address
Capture d’écran, le 2021-10-22 à 08 30 51

'

  1. See error localhost:(port): Can't reach the website. (IP):(port): Looping.. again and again

Expected behavior Access the StoryBook interface.

Desktop (please complete the following information):

christianwiedemann commented 2 years ago

Hi, port 3000 is mapped in Docksal. Run "yarn dev:storybook:docksal" and open your page with port 3000

(start-storybook --config-dir apps/storybook -p 3000)

fabrer commented 2 years ago

Thank you ! I have a better understanding now.