Files
k42api/start-server.sh
Rytek Digital Inc a0d4769741 updates
2025-07-13 10:32:45 -03:00

11 lines
224 B
Bash
Executable File

#!/bin/bash
# Set up logs directory
mkdir -p logs
# Start the server and log output
node server.js > logs/server.log 2>&1 &
# Print the PID
echo "Server started with PID $!"
echo "View logs with: tail -f logs/server.log"