blob: f4a1d96e117e1eeea50d0a9736def7f9b9eea5a4 [file] [log] [blame] [view]
dtrainorac84a372015-10-05 18:01:481# Running Blimp
2
3See [build](build.md) for instructions on how to build Blimp.
4
5## Running the client
6
7There are both Android and Linux clients. The Android client is the shipping
8client while the Linux client is used for development purposes.
9
10### Android Client
11
12Install the Blimp APK with the following:
13
14```bash
15./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/Blimp.apk
16```
17
18Set up any command line flags with:
19
20```bash
21./build/android/adb_blimp_command_line --enable-webgl
22```
23
dtrainor6df61642016-02-19 16:10:2524To have the client connect to a custom engine use the `--blimplet-endpoint`
25flag. This takes values in the form of scheme:ip:port. The possible valid
26schemes are 'tcp', 'quic', and 'ssl'. An example valid endpoint would be
27`--blimplet-endpoint=tcp:127.0.0.1:500`.
28
dtrainorac84a372015-10-05 18:01:4829Run the Blimp APK with:
30
31```bash
32adb_run_blimp_client
33```
34
35### Linux Client
36
37TBD
maniscalco91be48c2015-10-05 19:30:2238
39## Running the engine
40
kmarshall6c98508d2016-01-11 21:06:2841### In a container
maniscalcoa4dae22c2015-10-05 20:13:5042For running the engine in a container, see [container](container.md).
kmarshall6c98508d2016-01-11 21:06:2843
44### On a workstation
45If you are running the engine on your workstation and are connected to the
46client device via USB, you'll need remote port forwarding to allow the Blimp
47client to talk to your computer. Follow the instructions
48[here](https://developer.chrome.com/devtools/docs/remote-debugging) to get
49started. You'll probably want to remap 25467 to "localhost:25467".
marcinjb446acf652016-01-15 22:18:3650
51### Required flags
52* `--blimp-client-token-path=$PATH`: Path to a file containing a nonempty
53token string. If this is not present, the engine will fail to boot.
dtrainor6df61642016-02-19 16:10:2554