Extract complex npm scripts to separate files

This commit is contained in:
2025-11-03 11:43:15 +03:00
Unverified
parent 852ab15bd8
commit 6d970dbd61
4 changed files with 26 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
echo > deployment/.env
./.venv/bin/python3 backend/generate_vapid_keys.py >> deployment/.env
cat >> deployment/.env <<EOF
JWT_SECRET="$(openssl rand -base64 32)"
TURN_USERNAME=<set>
TURN_SECRET=<set>
EOF