Export .env file to your environtment variable.
export $(cat .env | xargs)Make sure file is exists
if [ ! -f .env ]
then
export $(cat .env | xargs)
fiUse this if your env file doesn't have # char.
source .envShell
Export .env file to your environtment variable.
export $(cat .env | xargs)Make sure file is exists
if [ ! -f .env ]
then
export $(cat .env | xargs)
fiUse this if your env file doesn't have # char.
source .env