Coverage for frappe_manager / site_manager / __init__.py: 100%
9 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-07-02 18:13 +0530
« prev ^ index » next coverage.py v7.13.5, created at 2026-07-02 18:13 +0530
1"""Site Manager Module - Configuration and Constants"""
3import json
4from importlib.resources import files
6__all__ = [
7 "VSCODE_LAUNCH_JSON",
8 "VSCODE_TASKS_JSON",
9 "VSCODE_SETTINGS_JSON",
10 "PREBAKED_SITE_APPS",
11 "NON_BASH_SUPPORTED_SERVICES",
12]
14_vscode_templates = files("frappe_manager.templates.vscode")
16VSCODE_LAUNCH_JSON: dict = json.loads((_vscode_templates / "launch.json").read_text())
17VSCODE_TASKS_JSON: dict = json.loads((_vscode_templates / "tasks.json").read_text())
18VSCODE_SETTINGS_JSON: dict = json.loads((_vscode_templates / "settings.json").read_text())
20PREBAKED_SITE_APPS = {
21 "https://github.com/frappe/frappe": "version-15",
22 "https://github.com/frappe/erpnext": "version-15",
23 "https://github.com/frappe/hrms": "version-15",
24}
26NON_BASH_SUPPORTED_SERVICES = ["redis-cache", "redis-queue", "adminer", "mailpit"]