Skip to content

Kumbbar/Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat

Based on
Django - WebSocket - Redis

Deployment

git clone https://github.com/Kumbbar/Chat
cd Chat
cd chat
cp .env.sample .env
- Database and Debug
- vim chat/settings.py
cd ..
sudo docker-compose up
-- create superuser
-- add message statuses in admin panel
-- edit MessageStatusConsts in db_logic.py

Visual

Chat

List of chats

If static files chanched

cd chat
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py collectstatic
cp static ../nginx