rename tac to tuc

This commit is contained in:
luk.lu
2021-08-30 16:05:31 +08:00
parent 770299fbab
commit 57e6325037

View File

@@ -2,13 +2,13 @@
导航路径 [Organizations](https://git.faronear.org/explore/organizations) 导航路径 [Organizations](https://git.faronear.org/explore/organizations)
- 应用链 [tac/\_tac](https://git.faronear.org/tac/_tac) - 应用链 [tuc/\_tuc](https://git.faronear.org/tuc/_tuc)
- 个性价值 [tac.vic/vic](https://git.faronear.org/tac.vic/vic) - 个性价值 [tuc-vic/vic](https://git.faronear.org/tuc-vic/vic)
- **<font size=5>服务端.mongo [tac.vic/vic.server.mongo](https://git.faronear.org/tac.vic/vic.server.mongo)</font>** - **<font size=5>服务端.mongo [tuc-vic/vic.server.mongo](https://git.faronear.org/tuc-vic/vic.server.mongo)</font>**
## 安装 ## 安装
参见 <https://www.mongodb.com/>,分别把 mongodb 和 vic.server.mongo 安装到 /mongodb 和 /tac.vic/vic.server.mongo 参见 <https://www.mongodb.com/>,分别把 mongodb 和 vic.server.mongo 安装到 /mongodb 和 /tuc-vic/vic.server.mongo
## 配置 ## 配置
@@ -20,7 +20,7 @@
- mongodb 配置文件已集成到 `vic.server.mongo/mongod.conf` 中 - mongodb 配置文件已集成到 `vic.server.mongo/mongod.conf` 中
- bindIp: 127.0.0.1 (生产环境) - bindIp: 127.0.0.1 (生产环境)
- bindIpAll: true (开发环境) - bindIpAll: true (开发环境)
- 编写 `/tac.vic/vic.server.mongo/configSec.js`,设置 HD 钱包的根密钥等等 - 编写 `/tuc-vic/vic.server.mongo/configSec.js`,设置 HD 钱包的根密钥等等
- protocol: https (生产环境) - protocol: https (生产环境)
- protocol: http (开发环境) - protocol: http (开发环境)
- port: 6842 (不要用 80/443因为这要留给 certbot) - port: 6842 (不要用 80/443因为这要留给 certbot)
@@ -30,7 +30,7 @@
1. 启动 mongodb 1. 启动 mongodb
``` ```
sudo /mongodb/bin/mongod -f /tac.vic/vic.server.mongo/mongod.conf --logpath /data/log/mongo.log sudo /mongodb/bin/mongod -f /tuc-vic/vic.server.mongo/mongod.conf --logpath /data/log/mongo.log
``` ```
以上命令已经被集成到 package.json 中,也可通过 npm 调用: 以上命令已经被集成到 package.json 中,也可通过 npm 调用:
@@ -41,7 +41,7 @@
2. 启动 vic.server.mongo 2. 启动 vic.server.mongo
``` ```
cd /tac.vic/vic.server.mongo cd /tuc-vic/vic.server.mongo
node index.js node index.js
``` ```
或者 或者