-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d965f43
commit c0deb3a
Showing
6 changed files
with
48 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
DB_HOST="127.0.0.1" | ||
DB_PORT="3141" | ||
KV_HOST="127.0.0.1" | ||
KV_PORT="6379" | ||
MAIL_ENABLED ="True" | ||
SMTP_SERVER ="mail.dsavdodeka.nl" | ||
SMTP_PORT ="465" | ||
RECREATE="yes" | ||
export DB_HOST="127.0.0.1" | ||
export DB_PORT="3141" | ||
export KV_HOST="127.0.0.1" | ||
export KV_PORT="6379" | ||
export MAIL_ENABLED ="True" | ||
export SMTP_SERVER ="mail.dsavdodeka.nl" | ||
export SMTP_PORT ="465" | ||
export RECREATE="yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Define the names of the environment variables | ||
ENV_VARS=("DB_PASS" "KV_PASS" "MAIL_PASS" "KEY_PASS") | ||
|
||
echo "Please enter values for the following environment variables:" | ||
for VAR in "${ENV_VARS[@]}"; do | ||
read -p "Enter value for $VAR: " VALUE | ||
export "$VAR=$VALUE" | ||
done | ||
|
||
. ./.env | ||
|
||
echo "Environment variables have been set in your current shell." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters