开源音乐软件YesPlayMusic部署

环境要求

Linux Centos 7.5+

NodeJS 8.12+

git

 

生成密钥

1
2
3
4
5
6
7
su - root
cd ~/.ssh
ssh-keygen
cat id_rsa.pub > authorized_keys
cd
chmod 600 .ssh/authorized_keys
chmod 700 -R .ssh

 

安装步骤

1
2
3
4
5
6
7
8
9
10
11
12
git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git
cd NeteaseCloudMusicApi
npm install
node app.js
cd
git clone --recursive https://github.com/qier222/YesPlayMusic.git
cd YesPlayMusic
yarn install
mv .env.example .env
vim .env
VUE_APP_NETEASE_API_URL=http://localhost:3000
yarn run build