mirror of
https://github.com/Cameri/nostream.git
synced 2025-08-09 04:31:59 +02:00
docs: add instructions for running local environment
This commit is contained in:
24
README.md
24
README.md
@@ -70,7 +70,11 @@ NIPs with a relay-specific implementation are listed here.
|
|||||||
|
|
||||||
### Docker setups
|
### Docker setups
|
||||||
- Docker v20.10
|
- Docker v20.10
|
||||||
- Docker compose v2.10
|
- Docker Compose v2.10
|
||||||
|
|
||||||
|
### Local Docker setup
|
||||||
|
- Docker Desktop v4.2.0 or newer
|
||||||
|
- [mkcert](https://github.com/FiloSottile/mkcert)
|
||||||
|
|
||||||
WARNING: Docker distributions from Snap, Brew or Debian repositories are NOT SUPPORTED and will result in errors.
|
WARNING: Docker distributions from Snap, Brew or Debian repositories are NOT SUPPORTED and will result in errors.
|
||||||
Install Docker from their [official guide](https://docs.docker.com/engine/install/) ONLY.
|
Install Docker from their [official guide](https://docs.docker.com/engine/install/) ONLY.
|
||||||
@@ -79,6 +83,24 @@ Install Docker from their [official guide](https://docs.docker.com/engine/instal
|
|||||||
|
|
||||||
- [Set up a Nostr relay in under 5 minutes](https://andreneves.xyz/p/set-up-a-nostr-relay-server-in-under) by [André Neves](https://twitter.com/andreneves) (CTO & Co-Founder At [ZEBEDEE](https://zebedee.io/))
|
- [Set up a Nostr relay in under 5 minutes](https://andreneves.xyz/p/set-up-a-nostr-relay-server-in-under) by [André Neves](https://twitter.com/andreneves) (CTO & Co-Founder At [ZEBEDEE](https://zebedee.io/))
|
||||||
|
|
||||||
|
## Local Quick Start (Docker Compose)
|
||||||
|
|
||||||
|
Install Docker Desktop following the [official guide](https://docs.docker.com/desktop/).
|
||||||
|
You may have to uninstall Docker on your machine if you installed it using a different guide.
|
||||||
|
|
||||||
|
Clone repository and enter directory:
|
||||||
|
```
|
||||||
|
git clone git@github.com:Cameri/nostream.git
|
||||||
|
cd nostream
|
||||||
|
```
|
||||||
|
|
||||||
|
Start:
|
||||||
|
```
|
||||||
|
./scripts/start_local
|
||||||
|
```
|
||||||
|
|
||||||
|
This will run in the foreground of the terminal until you stop it with Ctrl+C.
|
||||||
|
|
||||||
## Quick Start (Docker Compose)
|
## Quick Start (Docker Compose)
|
||||||
|
|
||||||
Install Docker following the [official guide](https://docs.docker.com/engine/install/).
|
Install Docker following the [official guide](https://docs.docker.com/engine/install/).
|
||||||
|
Reference in New Issue
Block a user