All Projects → ploggingdev → Djangochat

ploggingdev / Djangochat

Licence: gpl-3.0
A simple chat room using Django Channels.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Djangochat

Django Private Chat
Django one-to-one Websocket-based Asyncio-handled chat, developed by Bearle team
Stars: ✭ 376 (+353.01%)
Mutual labels:  django, chat
Django Channels React Multiplayer
turn based strategy game using django channels, redux, and react hooks
Stars: ✭ 52 (-37.35%)
Mutual labels:  django, chat
Channelstream
Channelstream is a websocket communication server for web applications
Stars: ✭ 52 (-37.35%)
Mutual labels:  django, chat
Nuxx
Visual Docker composer for faster development. Discover, leverage, and launch community recipes.
Stars: ✭ 79 (-4.82%)
Mutual labels:  django
Education Backend
Django backend for my info-business website
Stars: ✭ 79 (-4.82%)
Mutual labels:  django
Rocket.chat.ansible
Deploy Rocket.Chat with Ansible!
Stars: ✭ 80 (-3.61%)
Mutual labels:  chat
Pets
Pets is a Django-based website that allows people to share photos and information about missing pets and pets available for adoption
Stars: ✭ 82 (-1.2%)
Mutual labels:  django
Django Storage Swift
OpenStack Swift storage backend for Django
Stars: ✭ 78 (-6.02%)
Mutual labels:  django
Asvs
A simple web app that helps developers understand the ASVS requirements.
Stars: ✭ 80 (-3.61%)
Mutual labels:  django
Chatter App
This is a flutter based modern messaging app where users can sign up and log in to chat with their friends, family, colleagues among groups with enriched User-Experience.
Stars: ✭ 80 (-3.61%)
Mutual labels:  chat
Django Rest Framework Msgpack
MessagePack support for Django REST framework
Stars: ✭ 78 (-6.02%)
Mutual labels:  django
Django Poll App
Django poll app is a full featured polling app. You have to register in this app to show the polls and to vote. If you already voted you can not vote again. Only the owner of a poll can add poll , edit poll, update poll, delete poll , add choice, update choice, delete choice and end a poll. If a poll is ended it can not be voted. Ended poll only shows user the final result of the poll. There is a search option for polls. Also user can filter polls by name, publish date, and by number of voted. Pagination will work even after applying filter.
Stars: ✭ 78 (-6.02%)
Mutual labels:  django
Cabal Client
interface for writing peer-to-peer distributed chat clients
Stars: ✭ 81 (-2.41%)
Mutual labels:  chat
Ayudapy
Platform to help people help people
Stars: ✭ 79 (-4.82%)
Mutual labels:  django
Archer
基于inception的自动化SQL操作平台,支持SQL执行、LDAP认证、发邮件、OSC、SQL查询、SQL优化建议、权限管理等功能,支持docker镜像
Stars: ✭ 1,239 (+1392.77%)
Mutual labels:  django
Superseriousstats
superseriousstats is a fast and efficient program to create statistics out of various types of chat logs
Stars: ✭ 78 (-6.02%)
Mutual labels:  chat
Videocall App Flutter
Simple Video Calling App Made in Flutter Supporting Upto 4 peoples to have Video Call Together.
Stars: ✭ 82 (-1.2%)
Mutual labels:  chat
Djongo
Django and MongoDB database connector
Stars: ✭ 1,222 (+1372.29%)
Mutual labels:  django
Talkyard
A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.
Stars: ✭ 1,219 (+1368.67%)
Mutual labels:  chat
Django Crash Starter
The Cookiecutter template for the Django Crash Course tutorial by Daniel and Audrey Feldroy.
Stars: ✭ 80 (-3.61%)
Mutual labels:  django

Django Chat

This is a simple chat room built using Django Channels.

Setup instructions on Ubuntu 16.04:

Follow this guide for the initial server setup.

Update package index :

sudo apt-get update

Install dependencies :

sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx

Database setup :

sudo -u postgres psql

CREATE DATABASE djangochat;

CREATE USER djangochatuser WITH PASSWORD 'YOUR_PASSWORD';

ALTER ROLE djangochatuser SET client_encoding TO 'utf8';

ALTER ROLE djangochatuser SET default_transaction_isolation TO 'read committed';

ALTER ROLE djangochatuser SET timezone TO 'UTC';

GRANT ALL PRIVILEGES ON DATABASE djangochat TO djangochatuser;

\q

Setup Django project :

git clone https://github.com/ploggingdev/djangochat.git

sudo apt install python3-venv

cd djangochat

mkdir venv

python3 -m venv venv/djangochat

source venv/djangochat/bin/activate

pip install -r requirements.txt

pip install --upgrade pip

Add environment variables :

sudo nano ~/.bashrc

#append the following to the end of the file

export djangochat_secret_key="SECRET_KEY"

export djangochat_db_name="djangochat"

export djangochat_db_user="djangochatuser"

export djangochat_db_password="YOUR_PASSWORD"

export djangochat_postmark_token="POSTMARK_TOKEN"

export DJANGO_SETTINGS_MODULE=djangochat.settings

Source the env variables :

deactivate

source ~/.bashrc

source venv/djangochat/bin/activate

Perform database migration :

python manage.py migrate

Install redis by following this guide.

Create Django superuser :

python manage.py createsuperuser

Start the development server :

python manage.py runserver

Start celery :

celery -A chatdemo worker -B -l info

Visit the local development server at 127.0.0.1:8000 to test the site.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].