feat: add postgres storage and remote sync
This commit is contained in:
11
scripts/env_loader.py
Normal file
11
scripts/env_loader.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
|
||||
def load_env():
|
||||
base_dir = Path(__file__).resolve().parents[1]
|
||||
dotenv_path = base_dir / ".env"
|
||||
if dotenv_path.exists():
|
||||
load_dotenv(dotenv_path)
|
||||
|
||||
Reference in New Issue
Block a user