- Install pipenv
- Run
pipenv install
- Run
pipenv shell
- Run
python server_with_aioredis.py
to start server which use redis - Run
python server_with_aiopika.py
to start server which use rabbitmq
- This project is just a demo, don't Shanggangshangxian.
- Before start server please change
RABBITMQ_URL
orREDIS_URL
to youself value.