Skip to content

kumarnitishraj/Realtime-Chat-Django-Using-Node.js-and-Socket.IO-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Our goal for today is to build a realtime chatroom using Django, Redis, and Socket.IO. While we'll be building a chatroom the concepts can be applied to almost any web app.

Setup

  1. Django 1.10
  2. nodeJs
  3. redis-server

Redis Installation

sudo apt-get install redis-server

sudo pip install redis

sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs

Ones this is done then go to node directory

npm install

Django Installation

Ones virtual environment activate

pip install Django==1.10

After then go to project directory

python manage.py makemigration

python manage.py migrate

python manage.py createsuperuser

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published