music-downloader/start/server.sh

11 lines
185 B
Bash
Raw Normal View History

2023-08-02 14:49:56 +00:00
#!/bin/bash
# 下载依赖包
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}