mirror of https://github.com/waku-org/nwaku.git
40 lines
1.5 KiB
Markdown
40 lines
1.5 KiB
Markdown
# Overview: running a nwaku node
|
|
|
|
This guide provides on overview for newcomers
|
|
on how to build and run a nwaku node
|
|
for the most common use cases.
|
|
For a more advanced configuration see our [configuration guides](./how-to/configure.md)
|
|
|
|
To set up a nwaku node on a DigitalOcean droplet,
|
|
refer to our [quickstart guide for droplets](./droplet-quickstart.md).
|
|
If you prefer running nwaku in Docker container,
|
|
see our [Docker guide](./docker-quickstart.md).
|
|
|
|
## 1. Build
|
|
|
|
[Build the nwaku node](./how-to/build.md)
|
|
or download a precompiled binary from our [releases page](https://github.com/waku-org/nwaku/releases).
|
|
|
|
If you'd like to test latest changes without building the binaries yourself, you can refer to [nightly release](https://github.com/waku-org/nwaku/releases/tag/nightly).
|
|
|
|
Docker images are published to [wakuorg/nwaku](https://hub.docker.com/r/wakuorg/nwaku/tags) on Docker Hub.
|
|
See our [Docker quickstart guide](./docker-quickstart.md) to run nwaku in a Docker container.
|
|
|
|
## 2. Run
|
|
|
|
[Run the nwaku node](./how-to/run.md) using a default or common configuration
|
|
or [configure](./how-to/configure.md) the node for more advanced use cases.
|
|
|
|
[Connect](./how-to/connect.md) the nwaku node to other peers to start communicating.
|
|
|
|
## 3. Interact
|
|
|
|
A running nwaku node can be interacted with using the [REST API](../api/v2/rest-api.md).
|
|
|
|
> **Note:** REST API functionality is in ALPHA and therefore it is disabled by default. To configure a nwaku node with this enabled, use the `--rest:true` CLI option.
|
|
|
|
|
|
```bash
|
|
curl http://localhost:8546/debug/v1/info -s | jq
|
|
```
|