music-downloader/start/server.sh

11 lines
160 B
Bash

#!/bin/bash
# 下载依赖包
cd /music-downloader
npm install
wait
# 运行服务器端
echo "run server, localhost:5000"
node /music-downloader/app/main.js