95 lines
770 B
Markdown
95 lines
770 B
Markdown
<h3 align="center">
|
||
|
||
|
||
|
||
QwQ!!!!!
|
||
|
||
|
||
|
||
</h3>
|
||
|
||
|
||
|
||
<p align="center">
|
||
|
||
|
||
|
||
<span>A simple anonymous post api awa!</span>
|
||
|
||
|
||
|
||
</p>
|
||
|
||
|
||
|
||
\## 快速开始~
|
||
|
||
|
||
|
||
0、Clone本仓库
|
||
|
||
|
||
|
||
'git clone https://github.com/Sycamore-Whisper/backend.git'
|
||
|
||
|
||
|
||
1、创建一个python虚拟环境
|
||
|
||
|
||
|
||
'python -m venv post-api'
|
||
|
||
|
||
|
||
激活虚拟环境!
|
||
|
||
|
||
|
||
Windows:'post-api\\Scripts\\activate'
|
||
|
||
|
||
|
||
Linux/MacOS:'source post-api/bin/activate'
|
||
|
||
|
||
|
||
2、安装依赖
|
||
|
||
|
||
|
||
'pip install -r requirements.txt'
|
||
|
||
|
||
|
||
3、运行!
|
||
|
||
|
||
|
||
'python api\_server.py'
|
||
|
||
|
||
|
||
后端API已部署完成喵!接下来,请调用/init接口进行初始化
|
||
|
||
|
||
|
||
\## API文档
|
||
|
||
|
||
|
||
~~前往{BASE\_URL}/api-docs查看调用方法awa!~~
|
||
|
||
|
||
|
||
API文档暂时未完成呜呜。
|
||
|
||
|
||
|
||
\## License
|
||
|
||
|
||
|
||
This project is licensed under the MIT License.
|
||
|