Skip to content

ajmaln/DRF-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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