next generation of cautious-computing-context
Config is managed with mise
Install
brew install mise
echo 'eval "$(mise activate zsh)"' >> ~/.zshrc
source ~/.zshrc
mise trust
Build and run
mise use -g rust
mise run build
mise run start
Bonappetit
: You'll need to have authorization setup to get bonappetit requests working. Copy .env.sample
to .env
and set the token to get this working.
You can configure the logging level using the RUST_LOG
environment variable:
# logging level: error, warn, info, debug, and trace
RUST_LOG=debug mise run start
The server also supports different tracing formats which can be set using the -t
or --tracing
flag:
# tracing formats: default, debug, json, pretty
mise run start -- -t json
Combine log level and tracing for different levels of output and formats:
RUST_LOG=trace mise run start -- -t pretty