-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(README): add steps to run over Tor
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|