Skip to content

Commit

Permalink
chore:1月3日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Jan 3, 2024
1 parent fcab082 commit 771fca6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/daily/2022-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
- 异步组件
- https://cn.vuejs.org/guide/components/async.html#basic-usage
## 12月9日
- 地图坐标转换
- 地图坐标转换·
- https://juejin.cn/post/7153094385293328415
## 判断微信小程序
- https://zhuanlan.zhihu.com/p/554983566
Expand Down
10 changes: 9 additions & 1 deletion docs/daily/2024-01.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
## 1月3日
- 卸载pnpm
```
npm rm -g pnpm
```

## 1月2日
- linux查询指定文件
```
// 只列出json文件
ls -li | grep -E '\.json$'
```
```


2 changes: 1 addition & 1 deletion docs/javascript/2022-12-28-linux-h.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SIT1 环境连接 mongo "mongodb://ips:ips@localhost:2718/ips"
mongo "mongodb://ucms:uc123_([email protected]:23000,172.17.0.13:23000,172.17.0.14:23000/ucms"
mongo -u test -p test --host 127.0.0.1 --port 27017 //适用于mongo版本4.x以下
mongo 127.0.0.1:27017/数据库名 -u test -p test //适用于mongo版本4.x以上
mongo 127.0.0.1:27017/fastgpt -u username -p password //适用于mongo版本4.x以上
MONGO_DB=mongodb://nc:[email protected]:2718,10.25.0.10:2719/nc?replicaSet=NC
ucms:'uc123_(ms'@172.17.0.10,172.17.0.13,172.17.0.14:23000/ucms?replicaSet=ucms
Expand Down
3 changes: 1 addition & 2 deletions docs/javascript/2023-12-28-debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,12 @@ docker run -it \
访问9000查看页面
初始化的用户名和密码
admin admin!@#
```


## docker-compose 安装
```
// 下载docker-compose
https://github.com/docker/compose/releases/tag
```
20 changes: 19 additions & 1 deletion docs/javascript/2024-01-02-fastgpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,22 @@ https://doc.fastgpt.in/docs/development/intro/
// 修改配置文件
projects/app/.env.local
```
// 将根package.json中的依赖进行修改
"i18next": "22.5.1",
"next-i18next": "13.3.0",
"react-i18next": "12.3.1",
```

## mongodb 通过navicat连接
```
数据库名使用admin
用户名和密码使用上面docker-compose.yml中的配置
---这里重点忘记了如何连入mongodb数据库
docker exec -it mongo sh
mongo -u username -p password
mongo -u username -p password --host 127.0.0.1 --port 27017
```

0 comments on commit 771fca6

Please sign in to comment.