add: rebuild script for prod. fix: Improved data parsing, now filters out unneeded Lp files and .xlsx files.
13 lines
379 B
Bash
13 lines
379 B
Bash
#!/bin/bash
|
|
# Production rebuild script — rebuilds and restarts terra-view on :8001
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
echo "Building terra-view production..."
|
|
docker compose -f docker-compose.yml build terra-view
|
|
docker compose -f docker-compose.yml up -d terra-view
|
|
|
|
echo "Done — terra-view production is running on :8001"
|