refactor: move .env to scripts directory and update documentation

This commit is contained in:
Gigi
2025-11-07 14:47:57 +01:00
parent a91aa87ef9
commit 453a4f48ca
3 changed files with 2 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
# Nostr configuration for publish-markdown.sh script
# Copy this file to .env and fill in your values
# Your Nostr secret key (nsec, ncryptsec, or hex format)
# You can also set this via environment variable: export NOSTR_SECRET_KEY=your_key
NOSTR_SECRET_KEY=
# Space-separated list of relay URLs to publish to
# If not provided, events will be created but not published
RELAYS="ws://localhost:10547 ws://localhost:4869 wss://relay.primal.net wss://wot.dergigi.com wss://relay.dergigi.com wss://nostr.einundzwanzig.space wss://relay.damus.io wss://relay.nostr.bg wss://nos.lol wss://eden.nostr.land"

1
.gitignore vendored
View File

@@ -14,3 +14,4 @@ primal-web-app
Amber Amber
.env .env
scripts/.env

View File

@@ -1,5 +1,5 @@
# Nostr configuration for publish-markdown.sh script # Nostr configuration for publish-markdown.sh script
# Copy this file to .env and fill in your values # Copy this file to scripts/.env and fill in your values
# Your Nostr secret key (nsec, ncryptsec, or hex format) # Your Nostr secret key (nsec, ncryptsec, or hex format)
# You can also set this via environment variable: export NOSTR_SECRET_KEY=your_key # You can also set this via environment variable: export NOSTR_SECRET_KEY=your_key