The best for MacOS users is to isntall Kitematic Open Kitematic and click Docker CLI
docker-compose build
docker-compose upNow your page should be accessable like that: http://192.168.99.100:3001
To check your virtual machine IP you can run
docker-machine ipreact-native run-iosStorybooks allows to work on component in isolation, without running the app. It helps when you work on something hidden deep in the app.
Definitions of the stories are in the Components folder, in Stories subfolder They should be structured with the name ComponentName.(web|mob).stories.js
On mobile to refresh the list of stories you need to run command
npm run prestorybookThis will update the file storybook/storyLoader.js which must be commited
npm run storybookand then open the web browser http://localhost:6006/
UNCOMMENT CODE in index.ios.js or index.android.js to return Storybook view
npm run storybook:moband then open the web browser http://localhost:7007/ and in the second terminal run the app. For example
react-native run-ios