You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/physical-device-setup.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,23 +12,26 @@ When running the demo app on a physical device, the device needs to access the d
12
12
13
13
## Prerequisites
14
14
15
-
- Your physical device and development machine must be on the same network
16
-
- The development server must be running (`make dev-server`)
17
-
- You need to know your development machine's IP address
15
+
-Your physical device and development machine must be on the same network
16
+
-The development server must be running (`make dev-server`)
17
+
-You need to know your development machine's IP address
18
18
19
19
### Finding Your Development Machine's IP Address
20
20
21
21
**macOS:**
22
+
22
23
```bash
23
24
ipconfig getifaddr en0
24
25
```
25
26
26
27
**Linux:**
28
+
27
29
```bash
28
30
hostname -I | awk '{print $1}'
29
31
```
30
32
31
33
**Windows:**
34
+
32
35
```bash
33
36
ipconfig
34
37
```
@@ -42,7 +45,7 @@ Look for your local network IP address (typically in the format `192.168.x.x` or
42
45
3. Select the `Gutenberg` target.
43
46
4. Navigate to _Product_ → _Scheme_ → _Edit Scheme_.
44
47
5. Add an environment variable named `GUTENBERG_EDITOR_URL` with your development machine's IP address and port.
45
-
- Example: `http://192.168.1.100:5173/`
48
+
- Example: `http://192.168.1.100:5173/`
46
49
6. Connect your iOS device via USB or network.
47
50
7. Select your device as the run destination in Xcode.
48
51
8. Run the app.
@@ -57,7 +60,7 @@ Look for your local network IP address (typically in the format `192.168.x.x` or
57
60
1. Start the development server by running `make dev-server`.
58
61
2. Launch Android Studio and open the `android` project.
59
62
3. Modify the `android/local.properties` file to include an environment variable named `GUTENBERG_EDITOR_URL` with your development machine's IP address and port.
0 commit comments