File size: 503 Bytes
11a28db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Refresh the local DBLP conference database.
# Run this before paper submission to ensure the DB is up to date.
set -e

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"

echo "🔄 Refreshing conference database..."

# 1. Download new bib files (only those not yet downloaded)
python "$SCRIPT_DIR/update_db.py"

# 2. Rebuild the index
python "$SCRIPT_DIR/build_index.py"

echo ""
echo "✅ DB refreshed."
echo "   Run: python main.py --bib your_paper.bib"