bl serve

Serve a blaxel project

Synopsis

Serve a blaxel project

bl serve [flags]

Examples

bl serve --remote --hotreload --port 1338

Options

  -d, --directory string   Serve the project from a sub directory
  -e, --env-file strings   Environment file to load (default [.env])
  -h, --help               help for serve
  -H, --host string        Bind socket to this port. If 0, an available port will be picked (default "0.0.0.0")
      --hotreload          Watch for changes in the project
  -p, --port int           Bind socket to this host (default 1338)
  -r, --recursive          Serve the project recursively (default true)
  -s, --secrets strings    Secrets to deploy

Options inherited from parent commands

  -o, --output string          Output format. One of: pretty,yaml,json,table
      --skip-version-warning   Skip version warning
  -u, --utc                    Enable UTC timezone
  -v, --verbose                Enable verbose output
  -w, --workspace string       Specify the workspace name

SEE ALSO

  • bl - Blaxel CLI is a command line tool to interact with Blaxel APIs.