镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-05 22:16:49 +00:00
fix apache2 sub-path deploy issue #544
这个提交包含在:
28
docs/WithFastapi.md
普通文件
28
docs/WithFastapi.md
普通文件
@@ -0,0 +1,28 @@
|
||||
# Running with fastapi
|
||||
|
||||
We currently support fastapi in order to solve sub-path deploy issue.
|
||||
|
||||
1. checkout to `subpath` branch
|
||||
|
||||
``` sh
|
||||
git checkout subpath
|
||||
```
|
||||
|
||||
|
||||
2. merge lastest features (optional)
|
||||
|
||||
``` sh
|
||||
git merge master
|
||||
```
|
||||
|
||||
3. change CUSTOM_PATH setting in `config.py`
|
||||
|
||||
``` sh
|
||||
nano config.py
|
||||
```
|
||||
|
||||
4. Go!
|
||||
|
||||
``` sh
|
||||
python main.py
|
||||
```
|
||||
在新工单中引用
屏蔽一个用户