Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using dynamic imports for fs and path to fix browser bundles #85

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,33 @@ voyager daemon -d /path/to/voyager
VOYAGER_PATH=/path/to/voyager voyager daemon
```

#### Command Line Options

Voyager daemon supports several command line options:

**Help**
- `--help, -h`: Shows command line help

**Port Configuration**
- `--port, -p`: The port to listen on for the libp2p TCP transport. Defaults to 0 (random available port).
- `--wsport, -w`: The port to listen on for WebSockets. Defaults to 0 (random available port).

**Logging**
- `--verbose, -v`: Enable verbose logging. Use multiple times (e.g., `-vvv`) for increased verbosity.

**Access Control**
- `--allow, -a`: Allow anyone to add a database. The default is false (deny all except explicitly authorized users).

**Storage Location**
- `--directory, -d`: Specify a directory to store Voyager, IPFS, and OrbitDB data. You can also use the `VOYAGER_PATH` environment variable.

**Example with multiple options:**
```sh
voyager daemon -p 9090 -w 9091 -vvv --allow
```



### Docker

You can run an Voyager storage service using a pre-configured Docker image.
Expand Down
Loading