Django Channels compatibility with Google App/Compute Engine?

100 views
Skip to first unread message

Alex Z

unread,
Jul 7, 2017, 8:54:28 PM7/7/17
to Django users
Hello! I'm really new here, and also relatively new to Django, and I've been researching different ways to incorporate real-time updates with Django without specifically using AJAX. I dug around and found out about Django Channels, and I'm learning the basics right now. What I'm trying to do is develop a card game app, and I wanted each player to be able to play a card on their computer, and it would show up for everyone else playing (on different computers) without refreshing the page. I think I can figure something out to accomplish this with Django Channels, but I have a different issue: is Django Channels easily compatible with Google App/Compute Engine? I want to deploy it using Google Compute Engine, but I couldn't find many resources on the topic or any that answered my questions. For example, how would I deploy my Django app with a specific channel layer (Redis, RabbitMQ, etc.)? What other precautions should I take before I deploy a Django project that uses Channels? Any input on this would be fantastic, even any information on deploying a Django project that uses Channels via Google Compute Engine. Thanks!

Andrew Godwin

unread,
Jul 9, 2017, 7:07:44 AM7/9/17
to django...@googlegroups.com
Hi Alex,

I don't have any specific advice for GCE - I'm not really sure what their special requirements are. You'll probably have to experiment and see if it's possible with what they supply.

Andrew

On Sat, Jul 8, 2017 at 1:47 AM, Alex Z <er.an...@gmail.com> wrote:
Hello! I'm really new here, and also relatively new to Django, and I've been researching different ways to incorporate real-time updates with Django without specifically using AJAX. I dug around and found out about Django Channels, and I'm learning the basics right now. What I'm trying to do is develop a card game app, and I wanted each player to be able to play a card on their computer, and it would show up for everyone else playing (on different computers) without refreshing the page. I think I can figure something out to accomplish this with Django Channels, but I have a different issue: is Django Channels easily compatible with Google App/Compute Engine? I want to deploy it using Google Compute Engine, but I couldn't find many resources on the topic or any that answered my questions. For example, how would I deploy my Django app with a specific channel layer (Redis, RabbitMQ, etc.)? What other precautions should I take before I deploy a Django project that uses Channels? Any input on this would be fantastic, even any information on deploying a Django project that uses Channels via Google Compute Engine. Thanks!

--
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...@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/4d38a789-ee1a-4127-95ef-8420e57621f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages