mirror of
https://github.com/dergigi/boris.git
synced 2025-12-17 06:34:24 +01:00
refactor: move .env file to scripts directory
This commit is contained in:
10
scripts/.env.example
Normal file
10
scripts/.env.example
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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"
|
||||
@@ -12,7 +12,7 @@ set -e
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
MARKDOWN_DIR="$PROJECT_ROOT/test/markdown"
|
||||
ENV_FILE="$PROJECT_ROOT/.env"
|
||||
ENV_FILE="$SCRIPT_DIR/.env"
|
||||
|
||||
# Load .env file if it exists
|
||||
if [ -f "$ENV_FILE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user