Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saadzahidqureshi/django-chat-app

Chatting app developed in django, including P2P chat, Group Chat, Public Chat, share files functionalities were added.
https://github.com/saadzahidqureshi/django-chat-app

css django django-channels html htmx hyperscr javascript sqlite3 websocket

Last synced: about 1 month ago
JSON representation

Chatting app developed in django, including P2P chat, Group Chat, Public Chat, share files functionalities were added.

Awesome Lists containing this project

README

        

## Setup

#### - Create Virtual Environment
###### # Mac
```
python3 -m venv venv
source venv/bin/activate
```

###### # Windows
```
pip install virtualenv
virtualenv venv
venv\Scripts\activate.bat
```


#### - Install dependencies
```
pip install --upgrade pip
pip install -r requirements.txt
```


#### - Migrate to database
```
python manage.py migrate
python manage.py createsuperuser
```


#### - Run application
```
python manage.py runserver
```


#### - Generate Secret Key ( ! Important for deployment ! )
```
python manage.py shell
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
exit()
```

### Credit: @andyjud(https://github.com/andyjud)