Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AmanAdastra opened this issue Apr 11, 2023 · 0 comments

Comments

@AmanAdastra
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant