-
-
Save Jamp/5895d92992d8faadb11862c72d93ca03 to your computer and use it in GitHub Desktop.
Cargar variables entorno
This file contains hidden or 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
MONGODB_URL=xxxx | |
POSTGRESQL_URL=xxxx | |
API_URL=xxxx | |
PROXY_URL=xxxx | |
CLIENT_ID=xx |
This file contains hidden or 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
from os.path import join, dirname | |
from dotenv import load_dotenv | |
dotenv_path = join(dirname(__file__), '.env') | |
load_dotenv(dotenv_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment