Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Run ASGI/Channels without runserver_plus #5

Open
bbouille opened this issue Oct 18, 2020 · 0 comments
Open

Run ASGI/Channels without runserver_plus #5

bbouille opened this issue Oct 18, 2020 · 0 comments

Comments

@bbouille
Copy link

bbouille commented Oct 18, 2020

Hello,

I'm discovering Django and Channels, so first of all, thank you very much for this great tutorial !

As the 2020webinar branch contains the edited code during the video tutorial, the run command appears to not be set properly for local execution in Docker Compose. In the video the run configuration appears to be done in PyCharm but when we use docker compose directly, the "runserver_plus" should be disabled in docker-compose.yml.

So this line :

command: python manage.py runserver_plus 0.0.0.0:8000

should be replaced by :

command: python manage.py runserver 0.0.0.0:8000

Then everything starts properly and the async buttons work perfectly !

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

No branches or pull requests

1 participant