django_private_chat2 icon indicating copy to clipboard operation
django_private_chat2 copied to clipboard

If anyone having issue with starting the chat below are the steps to run the /chat_ws endpoint

Open ghost opened this issue 2 years ago • 0 comments

##Example Project for django_private_chat2

This example is provided as a convenience feature to allow potential users to try the app straight from the app repo without having to create a django project.

It can also be used to develop the app in place.

To run this example, follow these instructions:

  1. Navigate to the directory with this README
  2. Create virtualenv - Optional
virtualenv venv -p python3.9
source venv/bin/activate
# venv\Scripts\activate on Windows
  1. Install the requirements for the package:

pip install -r requirements.txt

  1. Go up a folder cd ..

  2. Apply migrations

python manage.py migrate
python manage.py loaddata example/fixtures/db.json
  1. Run the server

python manage.py runserver

  1. Access from the browser at http://127.0.0.1:8000

    There are two example users: user1 and user2. They have the same password: pa$$word

ghost avatar Apr 11 '23 08:04 ghost