Skip to content

vimal-11/django_direct_message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Direct Message

A complete one-to-one chat system using websockets and django channels.


Channels Documentation

https://channels.readthedocs.io/


To Run

To run this project:

  1. Clone this Repository
  2. Navigate to the directory with this README
  3. Create virtualenv - Optional
virtualenv venv -p python3.9
source venv/bin/activate
# venv\Scripts\activate on Windows
  1. Install the requirements for the package:
pip install -r requirements.txt 
  1. Go up a folder
cd ..
  1. Apply migrations
python manage.py migrate
  1. Create Superuser
python manage.py createsuperuser
  1. Run the server
python manage.py runserver
  1. Access the browser on
http://127.0.0.1:8000