Initial commit: Handoff Pro MCP server for Kellow Construction
This commit is contained in:
11
scripts/init_db.py
Normal file
11
scripts/init_db.py
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Initialize Handoff Pro database and seed default data."""
|
||||
import sys, os
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
||||
from lib.db import init_db
|
||||
from scripts.pricing_catalog import seed_default
|
||||
|
||||
if __name__ == "__main__":
|
||||
init_db()
|
||||
result = seed_default()
|
||||
print(f"Database initialized. Default catalog: {result}")
|
||||
Reference in New Issue
Block a user