rename tac/ to tac.vic/

This commit is contained in:
Luk Lu
2021-07-06 19:33:32 +08:00
parent ef4a254dee
commit 770299fbab

View File

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