2023-08-02 07:42:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# 下载依赖包
|
|
|
|
npm install http-server -g
|
|
|
|
|
2023-08-02 14:49:56 +00:00
|
|
|
wait
|
|
|
|
|
2023-08-02 07:42:30 +00:00
|
|
|
# 运行前端页面
|
|
|
|
cd /music-downloader/html
|
2023-08-05 09:41:54 +00:00
|
|
|
echo "run web, localhost:${WEB_PORT}"
|
|
|
|
http-server -p ${WEB_PORT}
|