music-downloader/start/html.sh

11 lines
176 B
Bash

#!/bin/bash
# 下载依赖包
npm install http-server -g
wait
# 运行前端页面
cd /music-downloader/html
echo "run web, localhost:${WEB_PORT}"
http-server -p ${WEB_PORT}