Skip to content

Commit 01dbc68

Browse files
committed
Update Readme
1 parent ffd8388 commit 01dbc68

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,43 @@ Supported templates:
3636
```bash
3737
ara new:nova -t angular <nova-folder>
3838
```
39+
40+
### Run Hypernova (Nova) Lambda locally
41+
42+
Run command:
43+
44+
```shell
45+
ara run:lambda
46+
```
47+
48+
Serve the client script locally using an S3 local server:
49+
50+
```shell
51+
ara run:lambda --asset
52+
```
53+
54+
### Run Nova Proxy
55+
56+
Nova Proxy needs a configuration file:
57+
58+
```json
59+
{
60+
"locations": [
61+
{
62+
"path": "/",
63+
"host": "http://localhost:8000",
64+
"modifyResponse": true
65+
}
66+
]
67+
}
68+
69+
Before to run the command we need to set the `HYPERNOVA_BATCH` variable using the Nova service endpoint.
70+
71+
```shell
72+
export HYPERNOVA_BATCH=http://localhost:3000/batch
73+
```
74+
75+
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.
76+
```
77+
ara run:proxy --config ./nova-proxy.json
78+
```

0 commit comments

Comments
 (0)