Skip to content

Node.js 部署指南

METO edited this page Apr 22, 2019 · 1 revision

安装

1. 安装 node(nvm) 环境

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm install node

2. 克隆项目代码,初始化

git clone https://github.com/metowolf/BilibiliHelper.git
cd BilibiliHelper
npm install

3. 编辑配置文件

cp .env.example .env
vim .env

4. 启动

node index.js