Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ai-node-back-end
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenghong_tao
ai-node-back-end
Commits
4ecbd2ed
Commit
4ecbd2ed
authored
Apr 23, 2025
by
chenghong_tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
a8d1a0c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
readme.md
readme.md
+24
-0
No files found.
readme.md
0 → 100644
View file @
4ecbd2ed
# 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
,
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment