Skip to content

Create advance messenger web application with Django.

License

Notifications You must be signed in to change notification settings

dori-dev/django-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Chat

Create advance messenger web application with Django.

Tools

Run Project

Download Codes

git clone https://github.com/dori-dev/django-chat.git
cd django-chat

Install Postgresql

Install postgresql from here.

Create DataBase

Create a postgres database and set your database name, user, password, host and port in .env file with change DB_NAME DB_USER DB_PASSWORD DB_HOST DB_POST variables!

Install Docker

Install docker from here.

Setup Redis

sudo docker run -p 6379:6379 -d redis:5

Build Virtual Environment

python3 -m venv env
source env/bin/activate

Install Project Requirements

pip install -r requirements.txt

Migrate Models

python3 manage.py makemigrations chat
python3 manage.py migrate

Add Super User

python3 manage.py createsuperuser

Collect Static

python3 manage.py collectstatic

Test Project

At first, install chrome webdriver for test with selenium. then copy chromedriver binary file in env/bin/ path

Run Test

python3 manage.py test

Run Server

python3 manage.py runserver

Open On Browser

Home Page 127.0.0.1:8000

Admin Page 127.0.0.1:8000/admin

Links

Download Source Code: Click Here

My Github Account: Click Here

About

Create advance messenger web application with Django.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published