django_vue

使用 Django + Vue.js 快速构建项目

Django and Vue.js - Auth0

https://github.com/auth0-blog/django-vue.js

https://django-tailwind.readthedocs.io/en/latest/installation.html

How to build a Vue.js app with Django REST framework

https://github.com/Rose-stack/building-a-vue-app-with-django-rest-framework

日志 - Django3.1教程

Django-Vue-Admin

A Python JWT Client for Django Rest Framework simplejwt

Django Celery Redis

Celery and Redis with Django

https://medium.com/swlh/asynchronous-task-with-django-celery-redis-and-production-using-supervisor-ef920725da03

Django Chatbot with Celery, WebSockets, and Redis.

Chatible - realtime chatbot

Django Login Logout


Python 使用 attrs 和 cattrs 实现面向对象编程

Django使用Channels实现WebSocket--上篇

Django使用Channels实现WebSocket--下篇

Celery + Redis + Django

Django实战:channels + websocket四步打造个在线聊天室

Django Channels & WebSockets Oversimplified - youtube

django-channels-basic-chat

Django Websockets: A Complete Beginners Guide!

Django配置Celery执行异步任务和定时任务

Asynchronous Tasks With Django and Celery

Django Chatbot with Celery, WebSockets, and Redis.

pip3 install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver 0.0.0.0:8080

http://47.112.110.227:8080/chat

vim /etc/redis/6379.conf
protected-mode no

1) Just disable protected mode sending the command 'CONFIG SET protected-mode no' from the loopback interface by connecting to Redis from the same host the server is running, however MAKE SURE Redis is not publicly accessible from internet if you do so. Use CONFIG REWRITE to make this change permanent. 
2) Alternatively you can just disable the protected mode by editing the Redis configuration file, and setting the protected mode option to 'no', and then restarting the server. 
3) If you started the server manually just for testing, restart it with the '--protected-mode no' option. 
4) Setup a bind address or an authentication password. NOTE: You only need to do one of the above things in order for the server to start accepting connections from the outside.