generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add 'ftl serve' command for local dev (#497)
Fixes #470 ```bash ftl serve --help Usage: ftl serve Start the FTL server. Flags: -h, --help Show context-sensitive help. --version Show version. --config=FILE Load configuration from TOML file. --endpoint=http://127.0.0.1:8892 FTL endpoint to bind/connect to ($FTL_ENDPOINT). --authenticators=HOST=EXE,… Authenticators to use for FTL endpoints ($FTL_AUTHENTICATORS). Logging: --log-level=info Log level ($LOG_LEVEL). --log-json Log in JSON format ($LOG_JSON). Command flags: --bind=http://localhost:8892 Starting endpoint to bind to and advertise to. Each controller and runner will increment the port by 1 -c, --num-controllers=1 Number of controllers to start. -r, --num-runners=10 Number of runners to start. ``` --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8b10afb
commit 5a60f47
Showing
2 changed files
with
101 additions
and
3 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
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