music-downloader/start/server.sh

15 lines
232 B
Bash
Raw Normal View History

2023-08-02 14:49:56 +00:00
#!/bin/bash
2024-02-18 06:25:45 +00:00
# 安装工具
apt update
apt install mp3info
2023-08-02 14:49:56 +00:00
# 下载依赖包
cd /music-downloader
npm install
wait
# 运行服务器端
2023-08-05 09:41:54 +00:00
echo "run server, localhost:${SERVER_PORT}"
node /music-downloader/app/main.js ${SERVER_PORT}