@powerhousedao/academy 4.1.0-dev.2 → 4.1.0-dev.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -709,42 +709,50 @@ Notes:
709
709
 
710
710
  ```
711
711
  Command Overview:
712
- The vetra command sets up a complete Vetra development environment for working with Vetra projects.
713
- It starts three coordinated services: a Vetra Switchboard, a Local Reactor, and Connect Studio,
714
- enabling full document collaboration and real-time processing with a "Vetra" drive.
712
+ The vetra command sets up a Vetra development environment for working with Vetra projects.
713
+ It starts a Vetra Switchboard and optionally Connect Studio, enabling document collaboration
714
+ and real-time processing with a "Vetra" drive or connection to remote drives.
715
715
 
716
716
  This command:
717
717
  1. Starts a Vetra Switchboard with a "Vetra" drive for document storage
718
- 2. Starts a Local Reactor that connects to the Vetra Switchboard as a remote drive
719
- 3. Starts Connect Studio pointing to the Local Reactor for user interaction
720
- 4. Enables real-time updates, collaboration, and code generation across all services
718
+ 2. Optionally connects to remote drives instead of creating a local drive
719
+ 3. Starts Connect Studio pointing to the Switchboard for user interaction (unless disabled)
720
+ 4. Enables real-time updates, collaboration, and code generation
721
721
 
722
722
  Options:
723
- --generate Generate code automatically when document models are updated.
724
- This keeps your code in sync with model changes across all services.
723
+ --logs Enable verbose logging for all services. This provides detailed
724
+ output from Switchboard and Connect during startup and operation.
725
725
 
726
- --switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
727
- Default is 4001. The Switchboard handles document storage.
726
+ --switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
727
+ Default is 4001. The Switchboard handles document storage.
728
728
 
729
- --reactor-port <port> Specify the port to use for the Local Reactor service.
730
- Default is 4002. The Reactor provides the main API and connects to switchboard.
729
+ --connect-port <port> Specify the port to use for Connect Studio.
730
+ Default is 3000. Connect provides the user interface.
731
731
 
732
- --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
732
+ --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
733
733
 
734
- --https-cert-file <path> Path to the SSL certificate file if using HTTPS.
734
+ --https-cert-file <path> Path to the SSL certificate file if using HTTPS.
735
735
 
736
- --config-file <path> Path to the powerhouse.config.js file. This allows you to
737
- customize the behavior of all services in the Vetra development environment.
736
+ --config-file <path> Path to the powerhouse.config.js file. This allows you to
737
+ customize the behavior of the Vetra development environment.
738
738
 
739
- -w, --watch Watch for local changes to document models and processors,
740
- and automatically update both the Switchboard and Reactor accordingly.
739
+ -w, --watch Watch for local changes to document models and processors,
740
+ and automatically update the Switchboard accordingly.
741
+
742
+ --remote-drive <url> URL of remote drive to connect to. When specified, the switchboard
743
+ connects to this remote drive instead of creating a local Vetra drive.
744
+
745
+ --disable-connect Skip Connect initialization (only start switchboard and reactor).
746
+ Use this when you only need the backend services running.
741
747
 
742
748
  Examples:
743
- $ ph vetra # Start complete Vetra environment with defaults
744
- $ ph vetra --generate # Auto-generate code on model changes
745
- $ ph vetra --switchboard-port 5000 --reactor-port 5001 # Use custom ports
746
- $ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
747
- $ ph vetra --watch # Watch for changes and auto-update
749
+ $ ph vetra # Start Vetra environment with defaults
750
+ $ ph vetra --switchboard-port 5000 --connect-port 3001 # Use custom ports
751
+ $ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
752
+ $ ph vetra --watch # Watch for changes and auto-update
753
+ $ ph vetra --logs # Enable detailed logging
754
+ $ ph vetra --remote-drive http://localhost:4001/d/docs # Connect to remote drive
755
+ $ ph vetra --disable-connect # Start only backend services
748
756
  $ ph vetra --https-key-file key.pem --https-cert-file cert.pem # Use HTTPS
749
757
  ```
750
758