Initial commit: ACE-Step UI - Open source music generation interface

This commit is contained in:
fspecii
2026-02-04 03:09:38 +02:00
commit 44f7563014
187 changed files with 99985 additions and 0 deletions
Executable
+50
View File
@@ -0,0 +1,50 @@
#!/bin/bash
# Start ACE-Step UI (both frontend and backend)
set -e
# Load environment
if [ -f .env ]; then
export $(cat .env | grep -v '^#' | xargs)
fi
# Check ACE-Step path
if [ ! -d "$ACESTEP_PATH" ]; then
echo "Error: ACESTEP_PATH not set or invalid. Run ./setup.sh first."
exit 1
fi
echo "Starting ACE-Step UI..."
echo "ACE-Step: $ACESTEP_PATH"
echo ""
# Start backend in background
echo "Starting backend on port ${PORT:-3001}..."
cd server
npm run dev &
BACKEND_PID=$!
cd ..
# Wait for backend
sleep 3
# Start frontend
echo "Starting frontend on port ${FRONTEND_PORT:-3000}..."
npm run dev &
FRONTEND_PID=$!
echo ""
echo "=================================="
echo " ACE-Step UI Running"
echo "=================================="
echo ""
echo " Frontend: http://localhost:${FRONTEND_PORT:-3000}"
echo " Backend: http://localhost:${PORT:-3001}"
echo ""
echo "Press Ctrl+C to stop..."
# Handle shutdown
trap "kill $BACKEND_PID $FRONTEND_PID 2>/dev/null; exit" INT TERM
# Wait for processes
wait