pdf-4 / start.sh
fokan's picture
Initial commit with static file serving and inline PDF viewing
623e14e
raw
history blame contribute delete
716 Bytes
#!/bin/bash
# Startup script for Enhanced DOCX to PDF Converter
echo "Enhanced DOCX to PDF Converter"
echo "=============================="
# Check if Docker is available
if ! command -v docker &> /dev/null
then
echo "Docker is not installed. Please install Docker to run this application."
exit 1
fi
# Check if Docker Compose is available
if ! command -v docker-compose &> /dev/null
then
echo "Docker Compose is not installed. Please install Docker Compose to run this application."
exit 1
fi
echo "Building and starting the application..."
docker-compose up --build
echo "Application is now running at http://localhost:8000"
echo "API documentation is available at http://localhost:8000/docs"