Browse Source

Secrets no longer used

imwald
Nuša Pukšič 1 week ago
parent
commit
fc64e29824
  1. 33
      README.md

33
README.md

@ -57,43 +57,12 @@ cd newsroom @@ -57,43 +57,12 @@ cd newsroom
Copy the example file `.env.dist` and replace placeholders with your actual configuration.
### Add a project encryption key and nsec
Symfony uses a vault mechanism for managing secrets securely.
To save the nsec, run this command inside your Docker container:
```bash
docker-compose exec php bin/console secrets:set APP_NSEC
```
To save the encryption key:
```bash
docker-compose exec php bin/console secrets:set APP_ENCRYPTION_KEY
```
### Nostr Relay
The project includes a private read-only Nostr relay (powered by strfry) that acts as a local cache for long-form articles and related events. This improves performance and reduces dependency on public relays.
**Quick Start:**
```bash
# Start the relay
make relay-up
# Run initial backfill
make relay-prime
# Test it
make relay-test
```
For detailed documentation, see [documentation/relay.md](documentation/relay.md).
**Key Features:**
- Read-only cache (denies client writes)
- Read-only cache
- Automatic periodic sync from upstream relays
- Caches long-form articles (NIP-23), reactions, zaps, highlights, and more
- WebSocket endpoint exposed via Caddy
- Easy backup/restore with `make relay-export` / `make relay-import`

Loading…
Cancel
Save