yarn --cwd app1 && yarn --cwd app2 && yarn --cwd host
App can be run as a standalone application using:
STANDALONE=1 yarn --cwd app1 start
(notice the dev server is running on port 9000)yarn --cwd app1 ios
/yarn --cwd app1 android
Or as part of a Host application.
App can be run as a standalone application using:
STANDALONE=1 yarn --cwd app2 start
(notice the dev server is running on port 9001)yarn --cwd app2 ios
/yarn --cwd app2 android
Or as part of a Host application.
- Run dev server for app 1 container:
yarn --cwd app1 start
- Run dev server for app 2 container:
yarn --cwd app2 start
- Run dev server for host application:
yarn --cwd host start
- Build host application:
yarn --cwd host ios
/yarn --cwd host android
It might be helpful to open Re.Pack's web dashboard to analyse artifacts:
- http://localhost:9000/dashboard for app1 container
- http://localhost:9001/dashboard for app2 container
- http://localhost:8081/dashboard for host container