-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Adding support for channels #1058
Comments
My only concern is that its not really fully tested on Windows (a platform we support); I'd have to run it through some tests on Windows before I would be comfortable with this. |
I have not worked on windows for years, so i wouldn't know about channels support. @burhan how can i help to test that? |
Channels also doesn't work on Elastic Beanstalk. As incredibly awesome as that platform is, it still forces you to use just As for windows support, if there's issues, we might be able to use this as a way to connect with the Django Channels and get better support for it in Windows. For what it's worth, I know @andrewgodwin uses Windows for programming that isn't Django/Python. |
Last time I spoke with @andrewgodwin he mentioned he mostly uses the embedded linux runtime that comes with Windows (I wanted to get some pointers for Windows development as I too have to deal with it for work). |
Yes, I do all my development on Windows inside the Linux Subsystem for Windows, which is basically just another UNIX with Ubuntu userland. It's entirely different from running under Win32 windows because it's just Linux-compatible, so things just work. |
I just ran a project with channels on windows with linux subsystem, just like @andrewgodwin. Works as expected. Do we need someone to test this directly on windows before proceeding? |
Not every Windows user of Cookiecutter Django runs the Linux Subsystem for Windows. If we expect all our Windows users to utilize this functionality, your pull request will need:
Personally, I would love to see this PR happen. We might even be able to get some oversight on the pull request from the MS Azure or VS Studio team. |
Ok, i get your point @pydanny. I will test this directly on windows before proceeding. If it does not work I will start the implementation following those guidelines. |
Beanstalk now supports multicontainer deployments. Therefore, we could probably use Channels through Docker. |
@philippeluickx, according to https://forums.aws.amazon.com/thread.jspa?threadID=251051 it looks like the bug is fixed. If you could get ELB to work with multicontainer Docker we would make a PR for this project an absolute priority. |
I managed to get cookiecutter run on multicontainer docker in EBS: updated ticket #1004 |
Is there any improvements or personal projects on this subject. I am a newbie to django and I will try to go for production soon. I am using channels in my project. I would be glad if anyone could show me the best possible solution. |
channels support has been maturing in django 4.x with async views and such. Any progress on this? |
We should have the option to ask users if they want to use channels, just like we do with celery.
Setting up channels should be easy, using the in memory layer locally and redis on production (or redis on both). Not much has to be assumed and is easy to implement.
Thoughts?
The text was updated successfully, but these errors were encountered: