Commit 4ecbd2ed authored by chenghong_tao's avatar chenghong_tao

update readme

parent a8d1a0c3
# nodeJS
## 运行
```bash
# 启动本地环境
npm run start
```
## PM2部署到线上
```bash
npm run pm2
```
## 数据库信息修改
打开 `db.js` 文件,修改数据库信息即可(目前仅支持 postgres 数据库)
```javascript
const dbConfig = {
user: 'postgres', // 数据库用户名
password: '8GsysHlncMNn_8327383c6cda2b53', // 数据库密码
host: '10.82.14.147', // 数据库主机地址
port: 5433,
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment