Chat rooms allow users from any location to join in, making them an ideal solution for conferences between multiple people.Technologies chat application facilitates real-time communication, with its superior feature set and unprecedented reliability. The real time interaction doesn't require users to sit close to a conference system speaker, making it more comfortable
This is a real time chat application that helps the users to come together and let them talk online in a common room where one will enjoy full security and no one would be able to access your private chats not even the owner. To make the webpage more dynamic the javascript library ajax has been used.
The first thing to do is to clone the repository:
$ git clone https://github.com/Lovekesh-GH/Chatapp.git
$ cd Chatapp
$ cd djangochat
-
Create a virtual environment to install dependencies in and activate it:
$ python3 -m venv venv $ source venv/bin/activate
-
Install the django using
$ pip3 install django
-
Install all the dependencies using
$ pip3 install -r requirements.txt
-
Run the migrations using the following commands
$ python3 manage.py makemigrations
$ python3 manage.py migrate
-
Run the Django server by
$ python3 manage.py runserver
Note : In case you encounter errors during migrations, make sure that you have access rights to db.sqlite3 file. You can use the following command to rectify permission denied error
$ chown *username* db.sqlite3
Run the migrations again to continue.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.