Quellcode durchsuchen

chore: update script display text and docs for web scraper rename

fszontagh vor 3 Monaten
Ursprung
Commit
379b971a6b
5 geänderte Dateien mit 10 neuen und 10 gelöschten Zeilen
  1. 3 3
      docs/SETUP.md
  2. 2 2
      scripts/install.sh
  3. 1 1
      scripts/reset.sh
  4. 1 1
      scripts/restore.sh
  5. 3 3
      scripts/uninstall.sh

+ 3 - 3
docs/SETUP.md

@@ -132,7 +132,7 @@ sudo ./scripts/install.sh
 
 
 ## Reset and restore
 ## Reset and restore
 
 
-Both scripts live in `scripts/` and create timestamped backups under `/var/backups/webshop-scraper/`.
+Both scripts live in `scripts/` and create timestamped backups under `/var/backups/webshop-scraper/` (path kept for backward compatibility, along with the `webshop-scraper` systemd service name).
 
 
 ```bash
 ```bash
 sudo ./scripts/reset.sh    # wipe back to a clean state (backs up first)
 sudo ./scripts/reset.sh    # wipe back to a clean state (backs up first)
@@ -141,7 +141,7 @@ sudo ./scripts/restore.sh  # restore from a previous backup
 
 
 A backup contains:
 A backup contains:
 
 
-- `data/shops.db` (SQLite database)
+- `data/shops.db` (SQLite database — filename kept for backward compatibility)
 - `.env`
 - `.env`
 - Service logs from `journalctl`
 - Service logs from `journalctl`
 
 
@@ -254,4 +254,4 @@ npm run dev
 
 
 ## Database
 ## Database
 
 
-SQLite file at `data/shops.db`. Schema lives in `src/database/SiteDatabase.ts` and is applied on startup — no manual migration step. Qdrant-related tables (`shop_embeddings`, `qdrant_deletion_queue`, `qdrant_errors`, `mcp_logs`) are created automatically whether or not Qdrant is enabled.
+SQLite file at `data/shops.db` (filename preserved for backward compatibility). Schema lives in `src/database/Database.ts` and is applied on startup — no manual migration step. Qdrant-related tables (`shop_embeddings`, `qdrant_deletion_queue`, `qdrant_errors`, `mcp_logs`) are created automatically whether or not Qdrant is enabled.

+ 2 - 2
scripts/install.sh

@@ -3,7 +3,7 @@
 set -e
 set -e
 
 
 echo "==================================="
 echo "==================================="
-echo "Webshop Scraper Installation Script"
+echo "Web Scraper Installation Script"
 echo "==================================="
 echo "==================================="
 echo ""
 echo ""
 
 
@@ -124,7 +124,7 @@ chown -R $ACTUAL_USER:$ACTUAL_USER "$INSTALL_DIR"
 echo "Creating systemd service..."
 echo "Creating systemd service..."
 cat > "/etc/systemd/system/$SERVICE_NAME.service" <<EOF
 cat > "/etc/systemd/system/$SERVICE_NAME.service" <<EOF
 [Unit]
 [Unit]
-Description=Webshop Scraper Service
+Description=Web Scraper Service
 After=network.target
 After=network.target
 
 
 [Service]
 [Service]

+ 1 - 1
scripts/reset.sh

@@ -3,7 +3,7 @@
 set -e
 set -e
 
 
 echo "========================================="
 echo "========================================="
-echo "Webshop Scraper Reset Script"
+echo "Web Scraper Reset Script"
 echo "========================================="
 echo "========================================="
 echo ""
 echo ""
 echo "WARNING: This will:"
 echo "WARNING: This will:"

+ 1 - 1
scripts/restore.sh

@@ -3,7 +3,7 @@
 set -e
 set -e
 
 
 echo "========================================="
 echo "========================================="
-echo "Webshop Scraper Restore Script"
+echo "Web Scraper Restore Script"
 echo "========================================="
 echo "========================================="
 echo ""
 echo ""
 
 

+ 3 - 3
scripts/uninstall.sh

@@ -3,7 +3,7 @@
 set -e
 set -e
 
 
 echo "======================================"
 echo "======================================"
-echo "Webshop Scraper Uninstallation Script"
+echo "Web Scraper Uninstallation Script"
 echo "======================================"
 echo "======================================"
 echo ""
 echo ""
 
 
@@ -17,7 +17,7 @@ INSTALL_DIR="/opt/webshop-scraper"
 SERVICE_NAME="webshop-scraper"
 SERVICE_NAME="webshop-scraper"
 
 
 # Confirm uninstallation
 # Confirm uninstallation
-echo "This will remove the Webshop Scraper service and all its files."
+echo "This will remove the Web Scraper service and all its files."
 echo "Are you sure you want to continue? (y/N)"
 echo "Are you sure you want to continue? (y/N)"
 read -r CONFIRM
 read -r CONFIRM
 
 
@@ -27,7 +27,7 @@ if [ "$CONFIRM" != "y" ] && [ "$CONFIRM" != "Y" ]; then
 fi
 fi
 
 
 echo ""
 echo ""
-echo "Uninstalling Webshop Scraper..."
+echo "Uninstalling Web Scraper..."
 echo ""
 echo ""
 
 
 # Stop service if running
 # Stop service if running