#!/bin/bash # Startup script for BioNexus Hub on Hugging Face Spaces echo "Starting BioNexus Hub application..." # Start the server in the background cd server npm start & # Wait a moment for the server to start sleep 5 # Start the client cd ../client npm run build echo "BioNexus Hub application started successfully!"