Skip to content

Commit eac2376

Browse files
committed
docs: add documentation about nova cluster command
1 parent 03cb3eb commit eac2376

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,24 @@ export HYPERNOVA_BATCH=http://localhost:3000/batch
7676
The command uses a configuration file named `nova-proxy.json` in the folder where the command is running, otherwise you need to pass the `--config` parameter with a different path.
7777
```
7878
ara run:proxy --config ./nova-proxy.json
79+
```
80+
81+
### Run Nova Cluster
82+
83+
Nova Cluster needs a configuration file in order to map the views with their nova servers.
84+
85+
```json
86+
{
87+
"Navbar": {
88+
"server": "http://localhost:3031/batch"
89+
},
90+
"Home": {
91+
"server": "http://localhost:3030/batch"
92+
}
93+
}
94+
```
95+
96+
The command uses a configuration file named `views.json` in the folder where the command is running, otherwise you need to pass the `--config` parameter with a different path.
97+
```
98+
ara run:cluster --config ./views.json
7999
```

0 commit comments

Comments
 (0)