@powerhousedao/academy 4.1.0-dev.7 → 4.1.0-dev.71
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/.vscode/settings.json +1 -1
- package/CHANGELOG.md +561 -0
- package/README.md +3 -3
- package/babel.config.js +1 -1
- package/blog/BeyondCommunication-ABlueprintForDevelopment.md +25 -24
- package/blog/TheChallengeOfChange.md +21 -21
- package/docs/academy/01-GetStarted/00-ExploreDemoPackage.mdx +67 -30
- package/docs/academy/01-GetStarted/01-CreateNewPowerhouseProject.md +36 -19
- package/docs/academy/01-GetStarted/02-DefineToDoListDocumentModel.md +24 -19
- package/docs/academy/01-GetStarted/03-ImplementOperationReducers.md +44 -41
- package/docs/academy/01-GetStarted/04-BuildToDoListEditor.md +10 -10
- package/docs/academy/01-GetStarted/05-VetraStudio.md +164 -0
- package/docs/academy/01-GetStarted/06-ReactorMCP.md +58 -0
- package/docs/academy/01-GetStarted/home.mdx +185 -90
- package/docs/academy/01-GetStarted/images/Modules.png +0 -0
- package/docs/academy/01-GetStarted/images/VetraStudioDrive.png +0 -0
- package/docs/academy/01-GetStarted/styles.module.css +5 -5
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/01-Prerequisites.md +46 -18
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/02-StandardDocumentModelWorkflow.md +118 -68
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/03-BuilderTools.md +75 -33
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/01-WhatIsADocumentModel.md +30 -21
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/02-SpecifyTheStateSchema.md +41 -37
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/03-SpecifyDocumentOperations.md +29 -25
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/04-UseTheDocumentModelGenerator.md +36 -37
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/05-ImplementDocumentReducers.md +128 -109
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/06-ImplementDocumentModelTests.md +95 -86
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/07-ExampleToDoListRepository.md +7 -9
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/01-BuildingDocumentEditors.md +65 -47
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/02-ConfiguringDrives.md +77 -62
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/03-BuildingADriveExplorer.md +360 -349
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/00-DocumentToolbar.mdx +16 -10
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/01-OperationHistory.md +10 -7
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/02-RevisionHistoryTimeline.md +26 -11
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/01-RenownAuthenticationFlow.md +14 -7
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/02-Authorization.md +0 -1
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/_category_.json +5 -5
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/_category_.json +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/01-GraphQLAtPowerhouse.md +45 -33
- package/docs/academy/02-MasteryTrack/04-WorkWithData/02-UsingTheAPI.mdx +61 -18
- package/docs/academy/02-MasteryTrack/04-WorkWithData/03-UsingSubgraphs.md +105 -456
- package/docs/academy/02-MasteryTrack/04-WorkWithData/04-analytics-processor.md +126 -110
- package/docs/academy/02-MasteryTrack/04-WorkWithData/05-RelationalDbProcessor.md +98 -65
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/GraphQL References/QueryingADocumentWithGraphQL.md +23 -21
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/best-practices.md +9 -9
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/index.md +11 -23
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/integration.md +25 -9
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/intro.md +10 -10
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/benchmarks.md +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/index.md +16 -11
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/memory.md +6 -5
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/schema.md +2 -2
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/utilities.md +7 -5
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/maker.md +32 -58
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/processors.md +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/07-drive-analytics.md +105 -71
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_01-SetupBuilderEnvironment.md +22 -0
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_02-CreateNewPowerhouseProject.md +9 -8
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_03-GenerateAnAnalyticsProcessor.md +28 -32
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_04-UpdateAnalyticsProcessor.md +25 -26
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_category_.json +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_category_.json +7 -7
- package/docs/academy/02-MasteryTrack/05-Launch/01-IntroductionToPackages.md +3 -4
- package/docs/academy/02-MasteryTrack/05-Launch/02-PublishYourProject.md +69 -45
- package/docs/academy/02-MasteryTrack/05-Launch/03-SetupEnvironment.md +70 -40
- package/docs/academy/02-MasteryTrack/05-Launch/04-ConfigureEnvironment.md +1 -0
- package/docs/academy/02-MasteryTrack/05-Launch/_category_.json +7 -7
- package/docs/academy/02-MasteryTrack/_category_.json +6 -6
- package/docs/academy/03-ExampleUsecases/Chatroom/02-CreateNewPowerhouseProject.md +5 -3
- package/docs/academy/03-ExampleUsecases/Chatroom/03-DefineChatroomDocumentModel.md +38 -37
- package/docs/academy/03-ExampleUsecases/Chatroom/04-ImplementOperationReducers.md +45 -41
- package/docs/academy/03-ExampleUsecases/Chatroom/05-ImplementChatroomEditor.md +14 -14
- package/docs/academy/03-ExampleUsecases/Chatroom/06-LaunchALocalReactor.md +6 -6
- package/docs/academy/03-ExampleUsecases/Chatroom/_category_.json +1 -1
- package/docs/academy/04-APIReferences/00-PowerhouseCLI.md +140 -61
- package/docs/academy/04-APIReferences/01-ReactHooks.md +649 -141
- package/docs/academy/04-APIReferences/04-RelationalDatabase.md +121 -113
- package/docs/academy/04-APIReferences/05-PHDocumentMigrationGuide.md +48 -41
- package/docs/academy/04-APIReferences/_category_.json +6 -6
- package/docs/academy/05-Architecture/00-PowerhouseArchitecture.md +1 -2
- package/docs/academy/05-Architecture/01-WorkingWithTheReactor.md +11 -8
- package/docs/academy/05-Architecture/05-DocumentModelTheory/_category_.json +1 -1
- package/docs/academy/05-Architecture/_category_.json +6 -6
- package/docs/academy/06-ComponentLibrary/00-DocumentEngineering.md +25 -23
- package/docs/academy/06-ComponentLibrary/02-CreateCustomScalars.md +105 -93
- package/docs/academy/06-ComponentLibrary/03-IntegrateIntoAReactComponent.md +1 -0
- package/docs/academy/06-ComponentLibrary/_category_.json +7 -7
- package/docs/academy/07-Cookbook.md +267 -34
- package/docs/academy/08-Glossary.md +7 -1
- package/docs/bookofpowerhouse/01-Overview.md +2 -2
- package/docs/bookofpowerhouse/02-GeneralFrameworkAndPhilosophy.md +1 -7
- package/docs/bookofpowerhouse/03-PowerhouseSoftwareArchitecture.md +10 -7
- package/docs/bookofpowerhouse/04-DevelopmentApproaches.md +10 -4
- package/docs/bookofpowerhouse/05-SNOsandANewModelForOSSandPublicGoods.md +23 -30
- package/docs/bookofpowerhouse/06-SNOsInActionAndPlatformEconomies.md +0 -7
- package/docusaurus.config.ts +64 -66
- package/package.json +9 -7
- package/scripts/generate-combined-cli-docs.ts +43 -13
- package/sidebars.ts +2 -0
- package/src/components/HomepageFeatures/index.tsx +171 -78
- package/src/components/HomepageFeatures/styles.module.css +1 -2
- package/src/css/custom.css +89 -89
- package/src/pages/_archive-homepage.tsx +17 -16
- package/src/theme/DocCardList/index.tsx +9 -8
- package/static.json +6 -6
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
# Powerhouse CLI
|
|
2
2
|
|
|
3
|
-
### Installing the Powerhouse CLI
|
|
3
|
+
### Installing the Powerhouse CLI
|
|
4
|
+
|
|
4
5
|
:::tip
|
|
5
|
-
The **Powerhouse CLI tool** is the only essential tool to install on this page. Install it with the command below.
|
|
6
|
+
The **Powerhouse CLI tool** is the only essential tool to install on this page. Install it with the command below.
|
|
6
7
|
|
|
7
|
-
You can find all of the commands on this page, similar to what would displayed when using ph --help or ph
|
|
8
|
-
Use the table of content or the search function to find what you are looking for.
|
|
8
|
+
You can find all of the commands on this page, similar to what would displayed when using ph --help or ph _command_ --help.
|
|
9
|
+
Use the table of content or the search function to find what you are looking for.
|
|
9
10
|
|
|
10
11
|
The Powerhouse CLI (`ph-cmd`) is a command-line interface tool that provides essential commands for managing Powerhouse projects. You can get access to the Powerhouse ecosystem tools by installing them globally.
|
|
11
12
|
|
|
12
13
|
```bash
|
|
13
14
|
pnpm install -g ph-cmd
|
|
14
|
-
```
|
|
15
|
-
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
:::
|
|
16
18
|
|
|
17
19
|
<!-- AUTO-GENERATED-CLI-COMMANDS-START -->\n<!-- This content is automatically generated. Do not edit directly. -->\n### ph-cmd Commands\n\n- [Init](#init)
|
|
18
20
|
- [Setup Globals](#setup-globals)
|
|
@@ -226,15 +228,30 @@ Examples:
|
|
|
226
228
|
|
|
227
229
|
```
|
|
228
230
|
Command Overview:
|
|
229
|
-
The Connect build command creates a
|
|
231
|
+
The Connect build command creates a production build with the project's local and
|
|
232
|
+
external packages included.
|
|
230
233
|
|
|
231
234
|
Options:
|
|
232
|
-
--
|
|
233
|
-
|
|
234
|
-
--
|
|
235
|
-
|
|
236
|
-
--
|
|
237
|
-
|
|
235
|
+
--outDir <outDir> Output directory. Defaults to 'dist'.
|
|
236
|
+
|
|
237
|
+
--base <base> Base path for the app. Default is "/".
|
|
238
|
+
|
|
239
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
240
|
+
|
|
241
|
+
--config-file <configFile> Path to the powerhouse.config.js file.
|
|
242
|
+
|
|
243
|
+
--vite-config-file <file> Path to the vite config file.
|
|
244
|
+
|
|
245
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
246
|
+
|
|
247
|
+
Examples:
|
|
248
|
+
$ ph connect build # Build with defaults
|
|
249
|
+
$ ph connect build --outDir build # Output to 'build' directory
|
|
250
|
+
$ ph connect build --base /app # Set base path to '/app'
|
|
251
|
+
$ ph connect build --mode production # Use production mode
|
|
252
|
+
$ ph connect build --config-file custom.config.js # Use custom configuration
|
|
253
|
+
$ ph connect build --vite-config-file vite.config.js # Use custom vite config
|
|
254
|
+
$ ph connect build --project-root /path/to/project # Set project root
|
|
238
255
|
```
|
|
239
256
|
|
|
240
257
|
## Connect Preview
|
|
@@ -245,10 +262,38 @@ Command Overview:
|
|
|
245
262
|
NOTE: You must run \`ph connect build\` first.
|
|
246
263
|
|
|
247
264
|
Options:
|
|
248
|
-
--
|
|
249
|
-
|
|
250
|
-
--port <port>
|
|
251
|
-
|
|
265
|
+
--outDir <outDir> Output directory. Defaults to 'dist'.
|
|
266
|
+
|
|
267
|
+
--port <port> Port to run the server on. Default is 3000.
|
|
268
|
+
|
|
269
|
+
--host Expose the server to the network.
|
|
270
|
+
|
|
271
|
+
--open Open browser on startup.
|
|
272
|
+
|
|
273
|
+
--strictPort Exit if specified port is already in use.
|
|
274
|
+
|
|
275
|
+
--base <base> Base path for the app. Default is "/".
|
|
276
|
+
|
|
277
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
278
|
+
|
|
279
|
+
--config-file <configFile> Path to the powerhouse.config.js file.
|
|
280
|
+
|
|
281
|
+
--vite-config-file <file> Path to the vite config file.
|
|
282
|
+
|
|
283
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
284
|
+
|
|
285
|
+
Examples:
|
|
286
|
+
$ ph connect preview # Preview with defaults
|
|
287
|
+
$ ph connect preview --outDir build # Preview from 'build' directory
|
|
288
|
+
$ ph connect preview --port 8080 # Preview on port 8080
|
|
289
|
+
$ ph connect preview --host # Expose to network
|
|
290
|
+
$ ph connect preview --open # Open browser automatically
|
|
291
|
+
$ ph connect preview --strictPort # Exit if port is in use
|
|
292
|
+
$ ph connect preview --base /app # Set base path to '/app'
|
|
293
|
+
$ ph connect preview --mode production # Use production mode
|
|
294
|
+
$ ph connect preview --config-file custom.config.js # Use custom configuration
|
|
295
|
+
$ ph connect preview --vite-config-file vite.config.js # Use custom vite config
|
|
296
|
+
$ ph connect preview --project-root /path/to/project # Set project root
|
|
252
297
|
```
|
|
253
298
|
|
|
254
299
|
## Connect Studio
|
|
@@ -256,7 +301,7 @@ Options:
|
|
|
256
301
|
```
|
|
257
302
|
Command Overview:
|
|
258
303
|
The connect command starts the Connect Studio, a development environment for building
|
|
259
|
-
and testing Powerhouse applications. It provides a visual interface for working with
|
|
304
|
+
and testing Powerhouse applications. It provides a visual interface for working with
|
|
260
305
|
your project.
|
|
261
306
|
|
|
262
307
|
This command:
|
|
@@ -266,27 +311,41 @@ Command Overview:
|
|
|
266
311
|
4. Supports various configuration options for customization
|
|
267
312
|
|
|
268
313
|
Options:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
--
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
314
|
+
--port <port> Port to run the server on. Default is 3000.
|
|
315
|
+
|
|
316
|
+
--host Expose the server to the network. By default, the server
|
|
317
|
+
only accepts connections from localhost.
|
|
318
|
+
|
|
319
|
+
--open Automatically open the browser window after starting the server.
|
|
320
|
+
|
|
321
|
+
--cors Enable CORS (Cross-Origin Resource Sharing).
|
|
322
|
+
|
|
323
|
+
--strictPort Exit if specified port is already in use.
|
|
324
|
+
|
|
325
|
+
--force Force the optimizer to ignore the cache and re-bundle.
|
|
326
|
+
|
|
327
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
328
|
+
|
|
329
|
+
--config-file <configFile> Path to the powerhouse.config.js file. This allows you to
|
|
330
|
+
customize the behavior of Connect Studio.
|
|
331
|
+
|
|
332
|
+
--vite-config-file <file> Path to the vite config file.
|
|
333
|
+
|
|
334
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
281
335
|
|
|
282
336
|
Examples:
|
|
283
|
-
$ ph connect
|
|
284
|
-
$ ph connect
|
|
285
|
-
$ ph connect
|
|
286
|
-
$ ph connect --
|
|
287
|
-
$ ph connect --
|
|
288
|
-
$ ph connect --
|
|
289
|
-
$ ph connect
|
|
337
|
+
$ ph connect # Start Connect Studio on default port 3000
|
|
338
|
+
$ ph connect --port 8080 # Start on port 8080
|
|
339
|
+
$ ph connect --host # Expose to network (not just localhost)
|
|
340
|
+
$ ph connect --open # Open browser automatically
|
|
341
|
+
$ ph connect --cors # Enable CORS
|
|
342
|
+
$ ph connect --strictPort # Exit if port is in use
|
|
343
|
+
$ ph connect --force # Force re-bundle
|
|
344
|
+
$ ph connect --mode production # Use production mode
|
|
345
|
+
$ ph connect --config-file custom.config.js # Use custom configuration
|
|
346
|
+
$ ph connect --vite-config-file vite.config.js # Use custom vite config
|
|
347
|
+
$ ph connect --project-root /path/to/project # Set project root
|
|
348
|
+
$ ph connect --port 8080 --open # Start on port 8080 and open browser
|
|
290
349
|
```
|
|
291
350
|
|
|
292
351
|
## Dev
|
|
@@ -611,6 +670,10 @@ Options:
|
|
|
611
670
|
--config-file <path> Path to the powerhouse.config.js file. Default is
|
|
612
671
|
'./powerhouse.config.json'. This configures the switchboard behavior.
|
|
613
672
|
|
|
673
|
+
--dev Enable development mode to load local packages from the current directory.
|
|
674
|
+
This allows the switchboard to discover and load document models, processors,
|
|
675
|
+
and subgraphs from your local development environment.
|
|
676
|
+
|
|
614
677
|
--db-path <DB_PATH> Path to the database for storing document data.
|
|
615
678
|
|
|
616
679
|
--https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
|
|
@@ -626,6 +689,7 @@ Options:
|
|
|
626
689
|
Examples:
|
|
627
690
|
$ ph switchboard # Start switchboard with default settings
|
|
628
691
|
$ ph switchboard --port 5000 # Use custom port 5000
|
|
692
|
+
$ ph switchboard --dev # Enable dev mode to load local packages
|
|
629
693
|
$ ph switchboard --config-file custom.json # Use custom configuration file
|
|
630
694
|
$ ph switchboard --packages pkg1 pkg2 # Load specific packages
|
|
631
695
|
$ ph switchboard --base-path /switchboard # Set API base path to /switchboard
|
|
@@ -709,45 +773,60 @@ Notes:
|
|
|
709
773
|
|
|
710
774
|
```
|
|
711
775
|
Command Overview:
|
|
712
|
-
The vetra command sets up a
|
|
713
|
-
It starts
|
|
714
|
-
|
|
776
|
+
The vetra command sets up a Vetra development environment for working with Vetra projects.
|
|
777
|
+
It starts a Vetra Switchboard and optionally Connect Studio, enabling document collaboration
|
|
778
|
+
and real-time processing with a "Vetra" drive or connection to remote drives.
|
|
715
779
|
|
|
716
780
|
This command:
|
|
717
781
|
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
|
|
782
|
+
2. Optionally connects to remote drives instead of creating a local drive
|
|
783
|
+
3. Starts Connect Studio pointing to the Switchboard for user interaction (unless disabled)
|
|
784
|
+
4. Enables real-time updates, collaboration, and code generation
|
|
721
785
|
|
|
722
786
|
Options:
|
|
723
|
-
--
|
|
724
|
-
|
|
787
|
+
--logs Enable verbose logging for all services. This provides detailed
|
|
788
|
+
output from Switchboard and Connect during startup and operation.
|
|
725
789
|
|
|
726
|
-
--switchboard-port <port>
|
|
727
|
-
|
|
790
|
+
--switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
|
|
791
|
+
Default is 4001. The Switchboard handles document storage.
|
|
728
792
|
|
|
729
|
-
--
|
|
730
|
-
|
|
793
|
+
--connect-port <port> Specify the port to use for Connect Studio.
|
|
794
|
+
Default is 3000. Connect provides the user interface.
|
|
731
795
|
|
|
732
|
-
--https-key-file <path>
|
|
796
|
+
--https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
|
|
733
797
|
|
|
734
|
-
--https-cert-file <path>
|
|
798
|
+
--https-cert-file <path> Path to the SSL certificate file if using HTTPS.
|
|
735
799
|
|
|
736
|
-
--config-file <path>
|
|
737
|
-
|
|
800
|
+
--config-file <path> Path to the powerhouse.config.js file. This allows you to
|
|
801
|
+
customize the behavior of the Vetra development environment.
|
|
738
802
|
|
|
739
|
-
-w, --watch
|
|
740
|
-
|
|
803
|
+
-w, --watch Enable dynamic loading for document-models and editors in
|
|
804
|
+
connect-studio and switchboard. When enabled, the system will
|
|
805
|
+
watch for changes in these directories and reload them dynamically.
|
|
806
|
+
|
|
807
|
+
--remote-drive <url> URL of remote drive to connect to. When specified, the switchboard
|
|
808
|
+
connects to this remote drive instead of creating a local Vetra drive.
|
|
809
|
+
|
|
810
|
+
--disable-connect Skip Connect initialization (only start switchboard and reactor).
|
|
811
|
+
Use this when you only need the backend services running.
|
|
812
|
+
|
|
813
|
+
--interactive Enable interactive mode for code generation. When enabled, the system
|
|
814
|
+
will prompt for user confirmation before generating code. This is useful
|
|
815
|
+
for development when you want control over when code regeneration happens.
|
|
741
816
|
|
|
742
817
|
Examples:
|
|
743
|
-
$ ph vetra
|
|
744
|
-
$ ph vetra --
|
|
745
|
-
$ ph vetra --
|
|
746
|
-
$ ph vetra --
|
|
747
|
-
$ ph vetra
|
|
818
|
+
$ ph vetra # Start Vetra environment with defaults
|
|
819
|
+
$ ph vetra --switchboard-port 5000 --connect-port 3001 # Use custom ports
|
|
820
|
+
$ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
|
|
821
|
+
$ ph vetra --watch # Enable dynamic loading for development
|
|
822
|
+
$ ph vetra -w # Enable dynamic loading (short form)
|
|
823
|
+
$ ph vetra --logs # Enable detailed logging
|
|
824
|
+
$ ph vetra --remote-drive http://localhost:4001/d/docs # Connect to remote drive
|
|
825
|
+
$ ph vetra --disable-connect # Start only backend services
|
|
826
|
+
$ ph vetra --interactive # Enable interactive code generation mode
|
|
748
827
|
$ ph vetra --https-key-file key.pem --https-cert-file cert.pem # Use HTTPS
|
|
749
828
|
```
|
|
750
829
|
|
|
751
830
|
---
|
|
752
831
|
|
|
753
|
-
*This document was automatically generated from the help text in the codebase.*\n<!-- AUTO-GENERATED-CLI-COMMANDS-END -->
|
|
832
|
+
*This document was automatically generated from the help text in the codebase.*\n<!-- AUTO-GENERATED-CLI-COMMANDS-END -->
|