mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-31 18:08:40 -05:00
14 lines
357 B
Bash
Executable File
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 |