Updated docs (#1746)

moved compile instructions to development page, added link to binaries in adding hosts page
This commit is contained in:
Caleb Coy 2018-04-30 16:46:11 -04:00 committed by Victor Vrantchan
parent c873833a5f
commit 753756721e
2 changed files with 24 additions and 22 deletions

View file

@ -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 git@github.com: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
```

View file

@ -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 git@github.com: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 youd like to compile from source, the instructions are [here](https://github.com/kolide/fleet/tree/master/docs/development).
#### Connecting a single Launcher to Fleet