Skip to content

Jeswin-8802/Chat4J

Repository files navigation

Chat4J - A Chat Room Application in Python

A Chat Forum Application powered by Django Channels, WebSockets, Django Redis and Asyncio enabling real time chat servers.

Setup

In the project directory:

Type the following command to create a virtual environment and initialize it with the necessary packages.

pipenv install

Note that this may take upto 5-10 minutes

If you don't have pipenv installed on your system, refer: https://docs.pipenv.org/

pipenv shell

py manage.py makemigrations

py manage.py migrate

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

If you don't have docker installed on your system, refer: https://docs.docker.com/get-docker/

py manage.py runserver

You're good to go!

If you wish to exit the virtual environment, type

exit

Or, if you wish to delete the virtual environment created

pipenv --rm

login

signUp

This is the home page and you will be redirected to this page once you log in.

You can enter a forum by entering it's name.

home

chat away!

forum

References