forked from kolide/fleet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved compile instructions to development page, added link to binaries in adding hosts page
- Loading branch information
Showing
2 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,26 @@ For information on running the various tests that Fleet application contains (Ja | |
## Using development infrastructure and tooling | ||
|
||
The Fleet application uses a lot of docker tooling to make setting up a development environment quick and easy. For information on this, see the [Development Infrastructure](./development-infrastructure.md) document. | ||
|
||
#### Setting up a Launcher environment | ||
|
||
It's helpful to have a local build of the Launcher and it's included package building tools when reasoning about connecting the Launcher to Fleet. Both Launcher and Fleet have a similar repository interface that should be familiar. | ||
|
||
If you have installed Go, but have never used it before (ie: you have not configured a `$GOPATH` environment variable), then there's good news: you don't need to do this anymore. By default, the Go compiler now looks in `~/go` for your Go source code. So, let's clone the launcher directory where it's supposed to go: | ||
|
||
``` | ||
mkdir -p $GOPATH/src/github.com/kolide | ||
cd $GOPATH/src/github.com/kolide | ||
git clone [email protected]:kolide/launcher.git | ||
cd launcher | ||
``` | ||
|
||
Once you're in the root of the repository (and you have a recent Go toolchain installed), you can follow the directions included with the Launcher repository: | ||
|
||
``` | ||
make deps | ||
make generate | ||
make test | ||
make | ||
./build/launcher --help | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,28 +12,7 @@ If you'd like to use the native osqueryd binaries to connect to Fleet, this is e | |
|
||
## Kolide Osquery Launcher | ||
|
||
#### Setting up a Launcher environment | ||
|
||
It's helpful to have a local build of the Launcher and it's included package building tools when reasoning about connecting the Launcher to Fleet. Both Launcher and Fleet have a similar repository interface that should be familiar. | ||
|
||
If you have installed Go, but have never used it before (ie: you have not configured a `$GOPATH` environment variable), then there's good news: you don't need to do this anymore. By default, the Go compiler now looks in `~/go` for your Go source code. So, let's clone the launcher directory where it's supposed to go: | ||
|
||
``` | ||
mkdir -p $GOPATH/src/github.com/kolide | ||
cd $GOPATH/src/github.com/kolide | ||
git clone [email protected]:kolide/launcher.git | ||
cd launcher | ||
``` | ||
|
||
Once you're in the root of the repository (and you have a recent Go toolchain installed), you can follow the directions included with the Launcher repository: | ||
|
||
``` | ||
make deps | ||
make generate | ||
make test | ||
make | ||
./build/launcher --help | ||
``` | ||
We provide compiled releases of the launcher for all supported platforms. Those can be found [here](https://github.com/kolide/launcher/releases). But if you’d like to compile from source, the instructions are [here](https://github.com/kolide/fleet/tree/master/docs/development). | ||
|
||
#### Connecting a single Launcher to Fleet | ||
|
||
|