From 7d44210a48f7a5eba444c9aa5e6b1678c50af84f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 22 Apr 2023 17:55:50 +0800 Subject: [PATCH] fix apache2 sub-path deploy issue #544 --- docs/WithFastapi.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/WithFastapi.md diff --git a/docs/WithFastapi.md b/docs/WithFastapi.md new file mode 100644 index 0000000..9f4baa1 --- /dev/null +++ b/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 +```