15 lines
341 B
Bash
Executable file
15 lines
341 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Navigate to project root directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Check if node_modules exists, install if missing
|
|
if [ ! -d "node_modules" ]; then
|
|
echo "Installing dependencies..."
|
|
npm install
|
|
fi
|
|
|
|
# Start the Vite development server
|
|
echo "Starting Tradhox Seller Central on http://localhost:3000 ..."
|
|
npm run dev
|