I've already answered the issue you opened on this topic: https://github.com/django/channels/issues/646
Andrew
On Fri, May 26, 2017 at 12:37 PM, U.G. Wilson <ugwilson@gmail.com> wrote:
Is it possible to send endpoint commands through runserver?--
In daphne I can do this:
daphne -v2 -e ssl:443:privateKey=key.pem:certKey =cert.pem main.asgi:channel_layerbut I have to have a worker in a separate process and run redis.If I could do something like this:
python manage.py runserver -e ssl:443:privateKey=key.pem:certKey =cert.pemI could use the asgiref.inmemory.ChannelLayer as well as have the server reload itself on code changes (which runworker doesn't do).I know this functions from a technical standpoint because I've hacked the endpoint information by hand into my virtualenv copy of channels.management\runserver.py but while in the code didn't see an obvious way of doing so from the command line.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7b3d1131- .dbeb-4a4d-a632-292fd37ba3fc% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwN1updt6V-HL0oZQ4scgXTAQd05fE2bZwOh0Zx-Vxzpk6PLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment