Skip to content

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

Open
@ghost

Description

##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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions