@powerhousedao/academy 4.1.0-dev.3 → 4.1.0-dev.31
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.
- package/CHANGELOG.md +253 -0
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/01-BuildingDocumentEditors.md +23 -0
- package/docs/academy/02-MasteryTrack/04-WorkWithData/03-UsingSubgraphs.md +72 -419
- package/docs/academy/02-MasteryTrack/04-WorkWithData/05-RelationalDbProcessor.md +36 -33
- package/docs/academy/04-APIReferences/00-PowerhouseCLI.md +36 -23
- package/docs/academy/04-APIReferences/01-ReactHooks.md +612 -152
- package/docs/academy/TUTORIAL_VERIFICATION_ARCHITECTURE +325 -0
- package/package.json +1 -1
|
@@ -709,42 +709,55 @@ Notes:
|
|
|
709
709
|
|
|
710
710
|
```
|
|
711
711
|
Command Overview:
|
|
712
|
-
The vetra command sets up a
|
|
713
|
-
It starts
|
|
714
|
-
|
|
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.
|
|
719
|
-
3. Starts Connect Studio pointing to the
|
|
720
|
-
4. Enables real-time updates, collaboration, and code generation
|
|
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
|
-
--
|
|
724
|
-
|
|
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>
|
|
727
|
-
|
|
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
|
-
--
|
|
730
|
-
|
|
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>
|
|
732
|
+
--https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
|
|
733
733
|
|
|
734
|
-
--https-cert-file <path>
|
|
734
|
+
--https-cert-file <path> Path to the SSL certificate file if using HTTPS.
|
|
735
735
|
|
|
736
|
-
--config-file <path>
|
|
737
|
-
|
|
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
|
|
740
|
-
|
|
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.
|
|
747
|
+
|
|
748
|
+
--interactive Enable interactive mode for code generation. When enabled, the system
|
|
749
|
+
will prompt for user confirmation before generating code. This is useful
|
|
750
|
+
for development when you want control over when code regeneration happens.
|
|
741
751
|
|
|
742
752
|
Examples:
|
|
743
|
-
$ ph vetra
|
|
744
|
-
$ ph vetra --
|
|
745
|
-
$ ph vetra --
|
|
746
|
-
$ ph vetra --
|
|
747
|
-
$ ph vetra --
|
|
753
|
+
$ ph vetra # Start Vetra environment with defaults
|
|
754
|
+
$ ph vetra --switchboard-port 5000 --connect-port 3001 # Use custom ports
|
|
755
|
+
$ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
|
|
756
|
+
$ ph vetra --watch # Watch for changes and auto-update
|
|
757
|
+
$ ph vetra --logs # Enable detailed logging
|
|
758
|
+
$ ph vetra --remote-drive http://localhost:4001/d/docs # Connect to remote drive
|
|
759
|
+
$ ph vetra --disable-connect # Start only backend services
|
|
760
|
+
$ ph vetra --interactive # Enable interactive code generation mode
|
|
748
761
|
$ ph vetra --https-key-file key.pem --https-cert-file cert.pem # Use HTTPS
|
|
749
762
|
```
|
|
750
763
|
|