remi
remi copied to clipboard
Can remi be used on cloud9?
I'm trying to get remi running on cloud9 because I'd like to use it in a programming class where I want students to be able to use graphics but not have to fiddle with javascript yet.
Cloud9 uses container based images and has a single available. Their sample WS applications use the same socket for HTTP and WS protocols using e.g. the express framework.
The remi library appears to use two ports, one for WS and one for the server and that leads to the c9 environment tossing an error when you try to connect. I've tried setting port & websocket_port to the same (see https://ide.c9.io/dirkcgrunwald/remi in examples/simple_app.py) but that causes remi to fail because it tries to open the socket twice.
Is there a way to get the the HTTP server and WS connection multiplex over the same socket? I have to admit, I haven't written much code using WS, so I may be confused.
@dirkcgrunwald I tried to use remi on other platforms like cloud9 in the past but unsuccessfully. :-/
I use remi on cloud9, I'll try to find some time to write some instructions.
Just wanted to add in support for this feature. Cloud9 + Remi = Instructional Classroom Dream when teaching introduction to Python.
@MayankTahil , Thanks to the contribution of @dirkcgrunwald now there is a branch in remi that makes it possible to work on C9. Look at branch dirkcgrunwald-c9.