Initial commit - Dutchie dispensary scraper

This commit is contained in:
Kelly
2025-11-28 19:45:44 -07:00
commit 5757a8e9bd
23375 changed files with 3788799 additions and 0 deletions

58
start.sh Executable file
View File

@@ -0,0 +1,58 @@
#!/bin/bash
echo "🚀 Starting Dutchie Menus System..."
echo ""
echo "This will start:"
echo " - PostgreSQL (port 5432)"
echo " - Minio (ports 9000, 9001)"
echo " - Backend API (port 3000)"
echo " - Frontend Admin (port 5173)"
echo ""
# Check if Docker is running
if ! docker info > /dev/null 2>&1; then
echo "❌ Docker is not running. Please start Docker first."
exit 1
fi
echo "✅ Docker is running"
echo ""
# Detect docker-compose command (new vs old)
if command -v docker-compose &> /dev/null; then
COMPOSE_CMD="docker-compose"
elif docker compose version &> /dev/null 2>&1; then
COMPOSE_CMD="docker compose"
else
echo "❌ docker-compose not found. Please install Docker Compose."
exit 1
fi
echo "Using: $COMPOSE_CMD"
echo ""
# Start docker-compose
echo "📦 Starting services..."
$COMPOSE_CMD up -d
echo ""
echo "⏳ Waiting for services to initialize (30 seconds)..."
sleep 30
echo ""
echo "✅ Services started!"
echo ""
echo "📍 Access points:"
echo " - Frontend Admin: http://localhost:5173"
echo " - Backend API: http://localhost:3000"
echo " - Minio Console: http://localhost:9001"
echo ""
echo "🔑 Default login:"
echo " Email: admin@example.com"
echo " Password: password"
echo ""
echo "📊 View logs:"
echo " $COMPOSE_CMD logs -f backend"
echo ""
echo "🛑 Stop services:"
echo " $COMPOSE_CMD down"