mangatranslator / setup.sh
bartwisch
Initial release v1.0.0 – Manga Translator with MIT License
376598e
raw
history blame contribute delete
979 Bytes
#!/bin/bash
# Manga Translator Setup Script
# ==============================
echo "πŸ“š Manga Translator Setup"
echo "========================="
# Check OS (currently no extra system packages are required)
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "🍎 macOS detected"
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "🐧 Linux detected"
fi
# Create virtual environment
echo ""
echo "🐍 Creating Python virtual environment..."
python3 -m venv venv
# Activate virtual environment
echo "πŸ”Œ Activating virtual environment..."
source venv/bin/activate
# Install Python dependencies
echo ""
echo "πŸ“¦ Installing Python packages (this may take a few minutes)..."
pip install --upgrade pip
pip install -r requirements.txt
echo ""
echo "βœ… Setup complete!"
echo ""
echo "To start the app:"
echo " source venv/bin/activate"
echo " streamlit run app.py"
echo ""
echo "Then open: http://localhost:8501"
echo ""
echo "OCR Config Page: http://localhost:8501/config"