mikupad/server/start.sh
lmg-anon 6f55246033 Make start.sh executable
I didn't know this was possible using git until now!
2025-11-03 18:14:32 -03:00

16 lines
No EOL
232 B
Bash
Executable file

#!/bin/bash
if ! command -v node &> /dev/null
then
echo "Node.js is not installed."
exit 1
fi
if ! command -v npm &> /dev/null
then
echo "npm is not installed."
exit 1
fi
npm install --no-audit
node server.js "$@"