Real-time website implementation with different methods in Django.
git clone https://github.com/dori-dev/real-time-web.git
cd real-time-web
python -m venv env
source env/bin/activate
cd short-polling
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
cd long-polling
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic
python -m gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
cd websocket
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
cd sse
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Main Page: 127.0.0.1:8000
Download Source Code: Click Here
My Github Account: Click Here