# DecodeXLogPythonServer **Repository Path**: jiangjiwei/decode-xlog-python-server ## Basic Information - **Project Name**: DecodeXLogPythonServer - **Description**: 用于解码 XLog 的服务器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-25 - **Last Updated**: 2021-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DecodeXLog 用于解析腾讯 XLog 的 Python 服务。 ## 环境要求: - Python 2.7 - requirements.txt 各库版本 ## 安装: ```python pip install -r requirements.txt ``` ## 启动: ```python python app.py ``` ## 测试: 点击下方按钮或在 Postman 中导入 Postman-Share.json 文件均可。 [![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/024b1ed0aacf94f23df0?action=collection%2Fimport) ## 部署 ```bash export FLASK_APP=app.py python -m flask run --host=0.0.0.0 ``` 后台运行 ```bash nohup python -m flask run --host=0.0.0.0 > run.log 2>&1 & ```