Create advance messenger web application with Django.
git clone https://github.com/dori-dev/django-chat.git
cd django-chat
Install postgresql from here.
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 from here.
sudo docker run -p 6379:6379 -d redis:5
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python3 manage.py makemigrations chat
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py collectstatic
At first, install chrome webdriver for test with selenium.
then copy chromedriver
binary file in env/bin/
path
python3 manage.py test
python3 manage.py runserver
Home Page 127.0.0.1:8000
Admin Page 127.0.0.1:8000/admin
Download Source Code: Click Here
My Github Account: Click Here