Files
zalo-monitor/run.sh
T
2026-05-10 22:03:32 +07:00

22 lines
448 B
Bash
Executable File

#!/bin/bash
# Zalo Monitor Run Script
echo "🚀 Starting Zalo Monitor & Reporter..."
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "📦 Dependencies not found. Installing..."
npm install
fi
# Check if data directory exists
if [ ! -d "data" ]; then
echo "📁 Creating data directory..."
mkdir -p data
fi
# Run the development server
echo "🌐 Launching dashboard at http://localhost:3000"
npm run dev