mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Updated docs (#1746)
moved compile instructions to development page, added link to binaries in adding hosts page
This commit is contained in:
parent
c873833a5f
commit
753756721e
2 changed files with 24 additions and 22 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
@ -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 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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue