@@ -17,10 +17,10 @@ sudo apt -y install xserver-xorg-core xserver-xorg-video-dummy
17
17
** Install WPT agent**
18
18
19
19
``` bash
20
- WPT_DEVICE_NAME=" Local Server" WPT_SERVER=" 192.168.0.161 :4000" WPT_LOCATION=" Local_Ubuntu" WPT_KEY=" location_key_1" DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <( curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
20
+ WPT_DEVICE_NAME=" Local Server" WPT_SERVER=" 192.168.0.150 :4000" WPT_LOCATION=" Local_Ubuntu" WPT_KEY=" location_key_1" DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <( curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
21
21
22
22
# Android
23
- WPT_DEVICE_NAME=" Pixel 2XL" WPT_SERVER=" 192.168.0.161 :4000" WPT_LOCATION=" Local_Ubuntu_Android" WPT_KEY=" location_key_1" AGENT_MODE=android DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <( curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
23
+ WPT_DEVICE_NAME=" Pixel 2XL" WPT_SERVER=" 192.168.0.150 :4000" WPT_LOCATION=" Local_Ubuntu_Android" WPT_KEY=" location_key_1" AGENT_MODE=android DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <( curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
24
24
```
25
25
26
26
> Replace the ` WPT_SERVER ` IP with your current local IP address, or the server address.
@@ -47,7 +47,7 @@ docker-compose -f docker-compose.yml -f docker-compose-macos.yml up wpt_server
47
47
48
48
```
49
49
http://localhost:4000/
50
- http://192.168.0.161 :4000/
50
+ http://192.168.0.150 :4000/
51
51
```
52
52
53
53
** Install mkcert and set the same CA as your local**
@@ -58,7 +58,7 @@ To test local dev servers via https you can use mkcert to setup a CA locally, an
58
58
59
59
1 . Install mkcert - https://github.com/FiloSottile/mkcert
60
60
2 . Follow mkcert install for other systems - https://github.com/FiloSottile/mkcert#installing-the-ca-on-other-systems
61
- 3 . Edit ` /etc/hosts ` on the VM to point your local dev URL to your host IP, Ex: ` 192.168.0.161 local.dev `
61
+ 3 . Edit ` /etc/hosts ` on the VM to point your local dev URL to your host IP, Ex: ` 192.168.0.150 local.dev `
62
62
63
63
Run tests via ` https://local.dev ` .
64
64
@@ -67,7 +67,7 @@ Run tests via `https://local.dev`.
67
67
```
68
68
sudo modprobe ifb numifbs=1
69
69
sudo docker run -d \
70
- -e SERVER_URL="http://192.168.0.161 :4000/work/" \
70
+ -e SERVER_URL="http://192.168.0.150 :4000/work/" \
71
71
-e LOCATION="Local_Ubuntu" \
72
72
-e KEY="location_key_1" \
73
73
-e NAME="Local Ubuntu Desktop" \
@@ -104,7 +104,7 @@ sudo docker run -d \
104
104
sudo docker build --tag wptagent .
105
105
sudo modprobe ifb numifbs=1
106
106
sudo docker run -d --init \
107
- -e SERVER_URL="http://192.168.0.161 :4000/work/" \
107
+ -e SERVER_URL="http://192.168.0.150 :4000/work/" \
108
108
-e LOCATION="Local_Ubuntu" \
109
109
-e KEY="location_key_1" \
110
110
-e NAME="Local Ubuntu Desktop" \
0 commit comments