remi icon indicating copy to clipboard operation
remi copied to clipboard

Can remi be used on cloud9?

Open dirkcgrunwald opened this issue 8 years ago • 4 comments

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 avatar Feb 13 '17 15:02 dirkcgrunwald

@dirkcgrunwald I tried to use remi on other platforms like cloud9 in the past but unsuccessfully. :-/

dddomodossola avatar Feb 13 '17 16:02 dddomodossola

I use remi on cloud9, I'll try to find some time to write some instructions.

allanderek avatar Mar 10 '17 22:03 allanderek

Just wanted to add in support for this feature. Cloud9 + Remi = Instructional Classroom Dream when teaching introduction to Python.

MayankTahil avatar Sep 26 '17 21:09 MayankTahil

@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.

dddomodossola avatar Dec 15 '17 08:12 dddomodossola