mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
17 lines
411 B
Bash
Executable File
17 lines
411 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.example
|
|
source .env
|
|
|
|
echo $GOOGLE_CREDENTIALS_ENC_PWD
|
|
|
|
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 |