Initial commit: Quality App v2 - FG Scan Module with Reports

This commit is contained in:
Quality App Developer
2026-01-25 22:25:18 +02:00
commit 3c5a273a89
66 changed files with 15368 additions and 0 deletions

64
quick-deploy.sh Executable file
View File

@@ -0,0 +1,64 @@
# Quality App v2 - Quick Deploy Script
#!/bin/bash
set -e
echo "================================"
echo "Quality App v2 - Quick Deploy"
echo "================================"
# Check if Docker and Docker Compose are installed
if ! command -v docker &> /dev/null; then
echo "Error: Docker is not installed"
exit 1
fi
if ! command -v docker-compose &> /dev/null; then
echo "Error: Docker Compose is not installed"
exit 1
fi
# Create .env file if it doesn't exist
if [ ! -f .env ]; then
echo "Creating .env file..."
cp .env.example .env
echo "Please edit .env with your configuration"
echo "Then run this script again"
exit 1
fi
# Build images
echo ""
echo "Building Docker images..."
docker-compose build
# Start services
echo ""
echo "Starting services..."
docker-compose up -d
# Wait for services to be ready
echo ""
echo "Waiting for services to be ready..."
sleep 5
# Check health
echo ""
echo "Checking service health..."
docker-compose ps
echo ""
echo "================================"
echo "Deployment Complete!"
echo "================================"
echo ""
echo "Application URL: http://localhost:8080"
echo "Default credentials:"
echo " Username: admin"
echo " Password: admin123"
echo ""
echo "NOTE: Change the default password immediately after login!"
echo ""
echo "View logs with: docker-compose logs -f app"
echo "Stop services with: docker-compose down"