Update build instructions (#639)
* Create .env.example * Update build.md * Update eas.json * Update build.md * Update build.md * Update build.md * Update docs/build.md Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz> --------- Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>zio/stable
parent
50c1841a06
commit
d5bec4ff37
|
@ -0,0 +1 @@
|
||||||
|
SENTRY_AUTH_TOKEN=
|
|
@ -18,6 +18,7 @@
|
||||||
- iOS: `yarn ios`
|
- iOS: `yarn ios`
|
||||||
- Android: `yarn android`
|
- Android: `yarn android`
|
||||||
- Web: `yarn web`
|
- Web: `yarn web`
|
||||||
|
- If you are cloning or forking this repo as an open source developer, please check the tips below as well
|
||||||
- Run e2e tests
|
- Run e2e tests
|
||||||
- Start in various console tabs:
|
- Start in various console tabs:
|
||||||
- `yarn e2e:server`
|
- `yarn e2e:server`
|
||||||
|
@ -25,6 +26,8 @@
|
||||||
- Run once: `yarn e2e:build`
|
- Run once: `yarn e2e:build`
|
||||||
- Each test run: `yarn e2e:run`
|
- Each test run: `yarn e2e:run`
|
||||||
- Tips
|
- Tips
|
||||||
|
- Make sure you copy the `.env.example` to `.env` and add the appropiate tokens (e.g. `SENTRY_AUTH_TOKEN` can be created on the Sentry dashboard). If this is not required, you can remove it from `eas.json` and `package.json`, as well as any mentions in the code.
|
||||||
|
- If you want to use Expo EAS on your own builds without ejecting from Expo, make sure to change the `owner` as well as `extra.eas.projectId` properties. If you do not have an Expo account, you may remove these properties.
|
||||||
- `npx react-native info` Checks what has been installed.
|
- `npx react-native info` Checks what has been installed.
|
||||||
- The android simulator won't be able to access localhost services unless you run `adb reverse tcp:{PORT} tcp:{PORT}`
|
- The android simulator won't be able to access localhost services unless you run `adb reverse tcp:{PORT} tcp:{PORT}`
|
||||||
- For instance, the localhosted dev-wallet will need `adb reverse tcp:3001 tcp:3001`
|
- For instance, the localhosted dev-wallet will need `adb reverse tcp:3001 tcp:3001`
|
||||||
|
|
15
eas.json
15
eas.json
|
@ -11,29 +11,20 @@
|
||||||
"simulator": true,
|
"simulator": true,
|
||||||
"resourceClass": "medium"
|
"resourceClass": "medium"
|
||||||
},
|
},
|
||||||
"channel": "development",
|
"channel": "development"
|
||||||
"env": {
|
|
||||||
"SENTRY_AUTH_TOKEN": "89c975413cd543fbb683b11bec984fc2163d9a77312c41c0b4480a570f3daa65"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"preview": {
|
"preview": {
|
||||||
"distribution": "internal",
|
"distribution": "internal",
|
||||||
"ios": {
|
"ios": {
|
||||||
"resourceClass": "medium"
|
"resourceClass": "medium"
|
||||||
},
|
},
|
||||||
"channel": "preview",
|
"channel": "preview"
|
||||||
"env": {
|
|
||||||
"SENTRY_AUTH_TOKEN": "89c975413cd543fbb683b11bec984fc2163d9a77312c41c0b4480a570f3daa65"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
"ios": {
|
"ios": {
|
||||||
"resourceClass": "medium"
|
"resourceClass": "medium"
|
||||||
},
|
},
|
||||||
"channel": "production",
|
"channel": "production"
|
||||||
"env": {
|
|
||||||
"SENTRY_AUTH_TOKEN": "89c975413cd543fbb683b11bec984fc2163d9a77312c41c0b4480a570f3daa65"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"submit": {
|
"submit": {
|
||||||
|
|
Loading…
Reference in New Issue