feat: implement billing, usage tracking, and administrative geocoding features in API with infrastructure updates
This commit is contained in:
@@ -63,9 +63,11 @@ mv "$TMP" "$PBF"
|
||||
|
||||
# ── إعادة بناء الرسم ─────────────────────────────────────────────────────
|
||||
# GraphHopper لا يعيد قراءة الـ PBF إن كان graph-cache موجوداً.
|
||||
echo "🧹 حذف graph-cache وإعادة بناء الرسم..."
|
||||
# نحذف المجلدين: graph-cache (من إعدادنا) و default-gh (اسم GraphHopper
|
||||
# الافتراضي، وهو المستخدم فعلياً إن لم يُقرأ config.yml).
|
||||
echo "🧹 حذف الرسم المخزّن وإعادة البناء..."
|
||||
docker compose stop routing || true
|
||||
rm -rf "$DATA_DIR/graph-cache"
|
||||
rm -rf "$DATA_DIR/graph-cache" "$DATA_DIR/default-gh"
|
||||
docker compose up -d routing
|
||||
|
||||
echo "⏳ انتظار جهوزية المحرك (قد يستغرق البناء عدة دقائق)..."
|
||||
|
||||
Reference in New Issue
Block a user