Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
superconvert authored Jun 16, 2024
1 parent 43b6df9 commit 88f3088
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions web manager/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,35 @@ var path = require('path');
path.join(process.cwd(), 'config.json');
~~~

nodejs 版本建议用:
https://cdn.npmmirror.com/binaries/node/latest-v18.x/node-v18.20.1-x64.msi
# nodejs 环境安装
Windows 版本:
nodejs 版本 https://cdn.npmmirror.com/binaries/node/latest-v18.x/node-v18.20.1-x64.msi
Ubuntu 16.04 版本:
~~~shell
# 下载 nodejs 源脚本
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
# 初始化 nodejs 安装环境
base nodesource_setup.sh
# 安装 nodejs
apt install nodejs -y
# 查看 node 版本
node -v
cd web/
rm node_modules/ package.json package-lock.json -rf
npm init
npm install
npm i cors
npm i express
npm i log4js
npm i co
npm i jsonwebtoken
npm i silly-datetime
npm i request
npm i thunkify
npm i diskinfo
npm i sqlite3
npm run start
~~~

# 编译运行

Expand Down

0 comments on commit 88f3088

Please sign in to comment.