You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The start doltab shell script should use .env files by default if found so that server admins only have to set these once and run the script instead of constantly setting these env vars.
I suggest something like the following code:
unamestr=$(uname)
if [ -f .env ]; then
echo 'environment file found'
if [ "$unamestr" = 'Linux' ]; then
export $(grep -v '^#' .env | xargs -d '\n')
elif [ "$unamestr" = 'Darwin' ]; then
export $(grep -v '^#' .env | xargs -0)
fi
fi
this would load the .env into the environment at runtime
The text was updated successfully, but these errors were encountered:
The start doltab shell script should use .env files by default if found so that server admins only have to set these once and run the script instead of constantly setting these env vars.
I suggest something like the following code:
this would load the .env into the environment at runtime
The text was updated successfully, but these errors were encountered: