Update README.md

Signed-off-by: Tai Groot <tai@taigrr.com>
This commit is contained in:
2023-10-21 03:34:03 -07:00
committed by GitHub
parent 0993138e25
commit 199aec16d2

View File

@@ -6,7 +6,7 @@ Use our bootstrap scripts!
1. Download and initialize the command line utility from our releases to your dev machine. 1. Download and initialize the command line utility from our releases to your dev machine.
```bash ```bash
# replace 'linux' with darwin if you're on macOS # replace 'linux' with darwin if you're on macOS
curl -L releases.grlx.dev/linux/amd64/grlx > grlx && chmod +x grlx curl -L https://releases.grlx.dev/linux/amd64/grlx > grlx && chmod +x grlx
./grlx init ./grlx init
``` ```
You'll be asked some questions, such as which interface the `farmer` is listening on, and which ports to use for communication. You'll be asked some questions, such as which interface the `farmer` is listening on, and which ports to use for communication.
@@ -16,7 +16,7 @@ Once configured, the CLI prints out your administrator public key, which you'll
2. On your control server, you'll need to install the `farmer`. 2. On your control server, you'll need to install the `farmer`.
```bash ```bash
# or, just run as root instead of sudo # or, just run as root instead of sudo
curl -L bootstrap.grlx.dev/latest/farmer | sudo bash curl -L https://bootstrap.grlx.dev/latest/farmer | sudo bash
``` ```
You'll be asked several questions about the interface to listen on, which ports to use, etc. You'll be asked several questions about the interface to listen on, which ports to use, etc.
For the quick start, it's recommended to use the default ports (make sure there's no firewall in the way!). For the quick start, it's recommended to use the default ports (make sure there's no firewall in the way!).
@@ -28,7 +28,7 @@ Make sure the certificate host name matches the external-facing interface (a dom
# or, just run as root instead of sudo # or, just run as root instead of sudo
# FARMER_BUS_PORT and FARMER_API_PORT variables are available in case you chose # FARMER_BUS_PORT and FARMER_API_PORT variables are available in case you chose
# to use different ports. # to use different ports.
curl -L bootstrap.grlx.dev/latest/sprout | FARMER_INTERFACE=localhost sudo -E bash curl -L https://bootstrap.grlx.dev/latest/sprout | FARMER_INTERFACE=localhost sudo -E bash
``` ```
Once the sprout is up and running, return to the CLI. Once the sprout is up and running, return to the CLI.