Skip to content

Commit

Permalink
get access to env variables in after_install
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Oct 31, 2023
1 parent c48b11a commit e703ea4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/after_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ mv /home/datamade/asset-dashboard $PROJECT_DIR

# get Access to application environmental variables
mv $PROJECT_DIR/configs/.env.$DEPLOYMENT_GROUP_NAME $PROJECT_DIR/.env
source $PROJECT_DIR/.env
set -a
. $PROJECT_DIR/.env
set +a


# Create a deployment specific virtual environment
python3 -m venv $VENV_DIR
Expand Down

0 comments on commit e703ea4

Please sign in to comment.