Skip to content

Commit

Permalink
docs(README): add steps to run over Tor
Browse files Browse the repository at this point in the history
  • Loading branch information
cameri committed Nov 7, 2022
1 parent 116d687 commit 45774d7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,32 @@ Stop the server with:
npm run docker:compose:stop
```

## Quick Start (over Tor)

Install Docker following the [official guide](https://docs.docker.com/engine/install/).
You may have to uninstall Docker if you installed it using a different guide.

Clone repository and enter directory:
```
git clone [email protected]:Cameri/nostr-ts-relay.git
cd nostr-ts-relay
```

Start with:
```
npm run tor:docker:compose:start &
```

Print the Tor hostname:
```
npm run tor:hostname
```

Stop the server with:
```
npm run tor:docker:compose:stop
```

## Quick Start (Standalone)

Set the following environment variables:
Expand Down

0 comments on commit 45774d7

Please sign in to comment.