Add files for production

This commit is contained in:
2024-05-17 10:14:16 -04:00
parent 415e6e44c7
commit a30f1528da
6 changed files with 153 additions and 39 deletions

7
install.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
LENGTH=32
SECRET_KEY=$(openssl rand -base64 $LENGTH | tr -d '=' | tr -d '+' | tr -d '/' | tr -d ' ')
TRIMMED_KEY=$(cut -c1-32 <<< $SECRET_KEY)
echo "APP_SECRET=$TRIMMED_KEY" > .env.local