Skip to content

Commit

Permalink
fix: add deployed url info (#659)
Browse files Browse the repository at this point in the history
* fix: add deployed url info

* Update deployment/cli.mdx

Co-authored-by: Richard Fontein <[email protected]>

---------

Co-authored-by: Richard Fontein <[email protected]>
  • Loading branch information
jainpawan21 and rifont authored Aug 20, 2024
1 parent 068f9cd commit f86513d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployment/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ The Novu CLI provides a mechanism for you to synchronize your Workflows into Nov
```bash
npx novu@latest sync --bridge-url <YOUR_DEPLOYED_URL> --secret-key <NOVU_SECRET_KEY>
```

- If your application api server is running at URL **https://api.domain.com** and **/api/novu** endpoint is serving Novu workflows created using Novu Framework, then `<YOUR_DEPLOYED_URL>`in above command will be `https://api.domain.com/api/novu`

- If your application is running in local machine with a local studio server, the tunnel URL can be used as `<YOUR_DEPLOYED_URL>`. The tunnel URL follows the format of `https://<UUID>.novu.sh/api/novu`, and example is `https://041e553c-0dbf-47e0-8ffa-c4536f390145.novu.sh/api/novu`. In this example `041e553c-0dbf-47e0-8ffa-c4536f390145` is the unique tunnel identifier which is generated for each Novu user when starting a tunnel via `npx novu@latest dev`. The tunnel identifier is persisted to your local machine to guarantee the same tunnel URL each time you invoke `npx novu@latest dev`.

0 comments on commit f86513d

Please sign in to comment.