• Stars
    star
    115
  • Rank 304,791 (Top 7 %)
  • Language
    Python
  • Created almost 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Live Chat using Django REST Framework

DRF-Chat

Live Chat using Django REST Framework

(One of my just-for-fun projects)

Installation

This app uses memcached to store Users online status, So you will need to install it.

On Ubuntu:

sudo apt install memcached

Install virtualenv

pip install virtualenv

On the project directory,

Create virtual environment

virtualenv venv

Activate

source venv/bin/activate

Install requirements

pip install -r requirements.txt

Do Database migrations

./manage.py makemigrations
./manage.py makemigrations chat
./manage.py migrate

Try creating a superuser for user management

./manage.py createsuperuser

Give necessary inputs

Run development server

./manage.py runserver