- PHP-based naming convention tool for Ferrero communication assets - Filename builder with validation - Filename decoder with component breakdown - Complete help documentation - Ferrero brand styling with Montserrat font - OMG Job Number field (numbers only, max 10 chars) - 105 brands, 29 countries, 39 asset types from Excel - Responsive landscape layout - Data management via JSON (parsed from Excel) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
640 B
Bash
Executable file
27 lines
640 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Ferrero Naming Convention Tool - Startup Script
|
|
|
|
echo "🍫 Starting Ferrero Naming Convention Tool..."
|
|
|
|
# Activate virtual environment
|
|
source ferrero-venv/bin/activate
|
|
|
|
# Start Flask backend
|
|
echo "🚀 Starting Flask API on http://localhost:5001"
|
|
cd backend
|
|
python3 app.py &
|
|
FLASK_PID=$!
|
|
|
|
echo ""
|
|
echo "✅ Flask API is running!"
|
|
echo ""
|
|
echo "📍 API is running at: http://localhost:5001/api"
|
|
echo "📍 Point your MAMP Pro to the 'public' directory"
|
|
echo ""
|
|
echo "Press Ctrl+C to stop the Flask server"
|
|
echo ""
|
|
|
|
# Wait for user to stop
|
|
trap "echo ''; echo '🛑 Stopping Flask server...'; kill $FLASK_PID; exit" INT
|
|
wait
|