mirror of
https://git.victorphan.net/basketballcantho/zalo-monitor.git
synced 2026-08-05 06:13:10 +07:00
init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user