githubexplorer / app /core /config.py
Kareman's picture
initial commit: full implemntation of git explorer project
acc643d
Raw
History Blame Contribute Delete
237 Bytes
from pathlib import Path
import os
from app.core.settings import settings
BASE_DIR = Path(__file__).resolve().parent.parent.parent
REPOSITORIES_DIR = BASE_DIR / "storage" / "repos"
REPOSITORIES_DIR.mkdir(parents=True, exist_ok=True)