template server in python |python微服务小模板
开发日志: https://cgdeeplearn.github.io/2020/05/18/Mirco-service/
git clone https://github.com/cgDeepLearn/pyserver.git
pip install pipenv
cd pyservr/src
pipenv install -r requirements.txt
cd pyserver/script
./operate start
curl http://127.0.0.1:10001/test -d '{"order_id":12345}'
- config server_ip/port
- config mysql / redis
- develop api by need
- config gevent workers in gunicorn_config.py