Loading...
Last updated on
The gensx start
command starts a local development server that enables you to test and debug your GenSX workflows.
gensx start <file> [options]
Argument | Description |
---|---|
<file> | The workflow file to serve (e.g., src/workflows.tsx ). |
Option | Description |
---|---|
--port <port> | Port to run the server on. |
-q, --quiet | Suppress output. |
-h, --help | Display help for the command. |
This command starts a local development server that:
The development server includes:
# Start server with a specific workflow file
gensx start src/workflows.ts
# Start server with minimal output
gensx start src/workflows.ts --quiet
# Start server on port 3000
gensx start src/workflows.ts --port 3000
http://localhost:1337/swagger-ui
.env
file in your project root