mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
For #27889 This PR introduces several improvements to the Makefile/`fdm` tool for development: ### `fdm serve` (alias `fdm up`) Starts a local Fleet server (building the binary first). The first time this is called, it will start the server on `localhost:8080` with the `--dev` and `--dev_license` flags, but the command accepts all of the options that you can pass to `fleet serve`. If you pass options to `fdm serve`, then subsequent invocations _without_ options will replay your last command. Additionally, `fdm serve` supports the following: - `--use-ip`: start the local server on your system's local IP address rather than `localhost`. This makes it easier to point VMs on your system to the fleet server to act as hosts. - `--no-build`: don't rebuild the fleet binary before starting the server. - `--no-save`: don't save the current command for future invocations (useful for scripting) - `--show`: show options for the last-invoked `fdm serve` command - `--reset`: reset the options for `fdm serve`. The next time `fdm serve` is invoked, it will use the default options. - `--help`: show all of the Fleet server options ### `fdm snapshot` improvements * Added `fdm snap` alias * Tracks the name of the last snapshot saved, to use as the default for `fdm restore` * Suppresses the "don't use password in CLI" warning when saving the snapshot ### `fdm restore` improvements * Added `--prep` / `--prepare` option to run db migrations after restoring snapshot. * Improved UI (more options displayed, and clearer indicator for selected option) * Now defaults to last snapshot restored |
||
|---|---|---|
| .. | ||
| android | ||
| api | ||
| apm-elastic | ||
| app | ||
| backup_db | ||
| bomutils-docker | ||
| calendar | ||
| ci | ||
| cis | ||
| cloner-check | ||
| custom-package-parser | ||
| dbutils | ||
| desktop | ||
| dialog | ||
| fdm | ||
| file-server | ||
| fleet-docker | ||
| fleetctl-docker | ||
| fleetctl-npm | ||
| fleetd-linux | ||
| inspect-cert | ||
| jira-integration | ||
| kubequery | ||
| loadtest | ||
| luks | ||
| mailpit | ||
| makefile-support | ||
| mdm | ||
| mysql-replica-testing | ||
| nvd/nvdvuln | ||
| oncall | ||
| osquery | ||
| osquery-agent-options | ||
| osquery-testing | ||
| percona/test | ||
| redis-stress | ||
| redis-tests | ||
| release | ||
| run-scripts | ||
| saml | ||
| seed_data | ||
| sentry-self-hosted | ||
| sign-fleetctl | ||
| smtp4dev | ||
| snapshot | ||
| team-builder | ||
| telemetry | ||
| terraform | ||
| test-certs | ||
| test-orbit-mtls | ||
| test_extensions/hello_world | ||
| testdata | ||
| tuf | ||
| webhook | ||
| windows-mdm-enroll | ||
| wix-docker | ||
| zendesk-integration | ||