... | ... | @@ -35,15 +35,15 @@ We hope to have a video demo of how to install and use Turbo. For now, it is un |
|
|
|
|
|
## On the Turbo server box
|
|
|
|
|
|
Ensure the Turbo server box has access to the docker registry that contains Turbo. For this tutorial, we'll use Zephyr's docker repository which hosts Turbo at `git.zephyr-software.com:4567/allzp/turbo/turbo:latest`. You may need to login to the docker registery using `docker login <hostname>` and provide access credentials.
|
|
|
Ensure the Turbo server box has access to the docker registry that contains Turbo. For this tutorial, we'll use Zephyr's docker repository which hosts Turbo at `git.zephyr-software.com:4567/opensrc/turbo/turbo:latest`. You may need to login to the docker registery using `docker login <hostname>` and provide access credentials.
|
|
|
|
|
|
Once you've ensured access, stand up the Turbo Service with docker:
|
|
|
```
|
|
|
docker run -p 55155:55155 git.zephyr-software.com:4567/allzp/turbo/turbo:latest
|
|
|
docker run -p 55155:55155 git.zephyr-software.com:4567/opensrc/turbo/turbo:latest
|
|
|
```
|
|
|
Note that the `-p 55155:55155` parameter tells Docker to expose the Turbo port so that the Turbo CLI can connect. You may always want to use `--restart unless-stopped` flag to ensure that the container is restarted in the event that your system restarts (e.g., due to a power loss). You may also wish to use `-d` to detach your shell from the docker instance. For example:
|
|
|
```
|
|
|
docker run -d --restart unless-stopped -p 55155:55155 git.zephyr-software.com:4567/allzp/turbo/turbo:latest
|
|
|
docker run -d --restart unless-stopped -p 55155:55155 git.zephyr-software.com:4567/opensrc/turbo/turbo:latest
|
|
|
```
|
|
|
|
|
|
|
... | ... | @@ -53,13 +53,13 @@ docker run -d --restart unless-stopped -p 55155:55155 git.zephyr-software.com:45 |
|
|
|
|
|
* Install the Turbo CLI:
|
|
|
```
|
|
|
sudo bash -c "$(curl -fsSL allzp.pages.zephyr-software.com/turbo/cli-install.sh)"
|
|
|
sudo bash -c "$(curl -fsSL opensrc.pages.zephyr-software.com/turbo/cli-install.sh)"
|
|
|
```
|
|
|
Follow the prompts provided by the script.
|
|
|
|
|
|
If you wish to force (re-)install the entire package without user interaction, you can:
|
|
|
```
|
|
|
yes | sudo bash -c "$(curl -fsSL allzp.pages.zephyr-software.com/turbo/cli-install.sh)"
|
|
|
yes | sudo bash -c "$(curl -fsSL opensrc.pages.zephyr-software.com/turbo/cli-install.sh)"
|
|
|
```
|
|
|
* Get started by running `turbo-cli --help` to examine the help screen.
|
|
|
|
... | ... | |