File tree 2 files changed +17
-10
lines changed
2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
# behemoth
2
2
执行托管命令的组件
3
+
4
+ ## 项目如何启动
5
+ 1 . 电脑安装python3.11环境及pip工具
6
+ 2 . pip install poetry
7
+ 3 . 进入到项目根目录下,执行命令 ` poetry install ` 安装依赖
8
+ 4 . 将项目跟目录下的文件config-example.yml复制为config.yml文件,修改配置内容
9
+ 5 . 执行apps目录下的main.py文件即可
Original file line number Diff line number Diff line change 1
1
APP :
2
- DEBUG : &debug true
3
- RELOAD : *debug
4
- LOG_LEVEL : ERROR
5
- NAME : behemoth
6
- HOST : 0.0.0.0
7
- PORT : 8888
8
- CORE_HOST : http://127.0.0.1:8080
9
- BOOTSTRAP_TOKEN : random_string
10
- SECRET_KEY : random_string
2
+ DEBUG : &debug false # 是否开启DEBUG模式
3
+ RELOAD : *debug # 是否重启,根据DEBUG参数自动判断,一般无需手动更改
4
+ LOG_LEVEL : ERROR # 日志级别
5
+ NAME : behemoth # 注册到Core显示的名称
6
+ HOST : 0.0.0.0 # Behemoth监听的IP
7
+ PORT : 8888 # Behemoth监听的端口
8
+ CORE_HOST : http://127.0.0.1:8080 # Core的通信地址
9
+ BOOTSTRAP_TOKEN : random_string # 和Core注册时使用的统一口令
10
+ SECRET_KEY : random_string # 使用加密时使用的字符串(盐)
11
11
ES :
12
- HOSTS : http://127.0.0.1:9200
12
+ HOSTS : http://127.0.0.1:9200 # ElasticSearch的配置,带鉴权的按照URL方式拼写
You can’t perform that action at this time.
0 commit comments