| OLD | NEW |
| 1 # mojo_run | 1 # mojo_run |
| 2 | 2 |
| 3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached | 3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached |
| 4 Android device. | 4 Android device. |
| 5 | 5 |
| 6 ```sh | 6 ```sh |
| 7 mojo_run APP_URL # Run on the host. | 7 mojo_run APP_URL # Run on the host. |
| 8 mojo_run APP_URL --android # Run on Android device. | 8 mojo_run APP_URL --android # Run on Android device. |
| 9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments | 9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments |
| 10 ``` | 10 ``` |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ```sh | 62 ```sh |
| 63 mojo_run APP_URL | 63 mojo_run APP_URL |
| 64 ``` | 64 ``` |
| 65 | 65 |
| 66 and the following in another: | 66 and the following in another: |
| 67 | 67 |
| 68 ```sh | 68 ```sh |
| 69 mkdir ~/another_home | 69 mkdir ~/another_home |
| 70 HOME=~/another_home mojo_run APP_URL --reuse-servers | 70 HOME=~/another_home mojo_run APP_URL --reuse-servers |
| 71 ``` | 71 ``` |
| 72 |
| 73 ## Setting default mojo origin |
| 74 |
| 75 When run outside of the `domokit/mojo` repository, `mojo_run` needs `--origin` |
| 76 parameter to indicate where binaries of the core mojo services come from. If a |
| 77 `MOJO_VERSION` file is present among ancestors of `mojo_run` and `--origin` |
| 78 parameter is not set, origin will point to Google Storage location storing |
| 79 binaries of core mojo services built at the git revision indicated in |
| 80 `MOJO_VERSION`. |
| OLD | NEW |