Linked development-infra docs from building-the-code docs. (#41)

Added link to development-infrastructure docs at the end of building-the-code docs to walk contributors to the next step of serving Fleet locally.

Added --auth_jwt_key="insecure" flag to fleet serve command in development-infrastructure docs.
This commit is contained in:
noahtalerman
2020-11-16 11:50:58 -08:00
committed by GitHub
parent 618ba56484
commit 74700fc2fb
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -63,3 +63,4 @@ make build
It's not necessary to use Make to build the code, but using Make allows us to account for cross-platform differences more effectively than the `go build` tool when writing automated tooling. Use whichever you prefer.
Once you're successful in building the code, head to the [development infrastrucutre](./development-infrastructure.md) documentation to use the local development Docker Compose infrastructure to run Fleet locally.
@@ -32,9 +32,9 @@ fleet prepare db
To start the Fleet server backed by the Docker development infrastructure, run the Fleet binary as follows:
```
fleet serve
fleet serve --auth_jwt_key="insecure"
```
By default, Fleet will try to connect to servers running on default ports on localhost.
By default, Fleet will try to connect to servers running on default ports on localhost. Depending on your browser's settings, you may have to click through a security warning.
If you're using Docker via [Docker Toolbox](https://www.docker.com/products/docker-toolbox), you may have to modify the default values use the output of `docker-machine ip` instead of `localhost`. There is an example configuration file included in this repository to make this process easier for you. Use the `--config` flag of the Fleet binary to specify the path to your config. See `fleet --help` for more options.