mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
16 lines
391 B
Bash
Executable File
16 lines
391 B
Bash
Executable File
#!/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)"
|
|
COMPLIANCE_PUBLIC_KEY="$(./.venv/bin/python3 scripts/generate_compliance_keypair.py --save --public-only)"
|
|
TURN_USERNAME=<set>
|
|
TURN_SECRET=<set>
|
|
DEPLOYMENT_SERVER=<set>
|
|
FIREBASE_CERT=<set>
|
|
RELEASES_TOKEN=<set>
|
|
EOF
|