xxxxxxxxxx
npm install dotenv --save
Next add the following line to your app: "require('dotenv').config()"
Then create a .env file at the root directory of your application
and add the variables to it.
Load and set environment variables from (dot env) .env file on Linux
xxxxxxxxxx
export $( grep -vE "^(#.*|\s*)$" .env )
xxxxxxxxxx
SECRET_KEY=django-insecure-g6owp@47mbu33+nemhf$btj&6e7t&8)&n!uax1obkf-d)9$9*j
DB_NAME=moviereviews
DB_USER=root
DB_PASS=hO5xY%00j
xxxxxxxxxx
Sample Query Example
setx /M HADOOP_HOME C:\bin\spark-3.0.1-bin-hadoop2.7\