docs(README): add steps to run over Tor

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-11-06 19:30:29 -05:00
parent cf4888e28f
commit 502d56d648
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245

View File

@ -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 git@github.com: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: