Files
Compass/scripts/post_install.sh
2025-09-21 16:00:29 +02:00

14 lines
357 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")"/..
if [ ! -f .env ]; then
cp .env.example .env
echo ".env file created from .env.example"
fi
source .env
openssl enc -d -aes-256-cbc -pbkdf2 -iter 100000 -in secrets/googleApplicationCredentials-dev.json.enc -out backend/shared/src/googleApplicationCredentials-dev.json -pass pass:$GOOGLE_CREDENTIALS_ENC_PWD