Honestly, I am hopeful that someday a plugin for @ProjectJupyter's #jupyterlab may cover this use case.
-
-
Show this threadThanks. Twitter will use this info to make your timeline better. Undo
-
-
-
Why too complicated?
-
Only 1 free container. Students create many projects (one per week, typically), can only have one running. Connect container, edit hello.js, click run button → run config not defined. Edit container config, click run button → preview opens UNLESS you chose wrong port.
-
I don't see a way I can pre-configure a container for my students. Git cloning dumps repo in ~/workspace. Configuration is in ~/.ca.
-
Overall, too many bells & whistles. Useful for enterprise work, but too confusing for beginners. It took *me* 1h playing around to get everything. Imagine students who'd only ever seen Windows. Even making a static website is far from trivial. Nice product, but no good for class.
End of conversation
New conversation -
-
-
Maybe
@cocalc_com for Jupyter notebooks? If that's not an option,@wstein389 and I interested why not
. -
#cocalc and#jupyterhub are both excellent for Jupyter notebooks (and more). I use both in my math/programming classes. But here I'm talking web programming: I need a one-click-to-run a node.js server, hosts at dyn generated subdomain, possibly with MySQL DB... And simple UI! -
I just added some new functionality to cocalc to make running and developing web servers easier:https://github.com/sagemathinc/cocalc/wiki/HTTPWebserver …
-
Nice! Why not 1- Have https://cocalc.com/ <project-id>/ map to some standard port (e.g. 3000); 2- Define an env variable
$PORT equal to that same standard port. That way it would be easy to have a link somewhere in the menus to open the preview in a new window. -
If we added the feature you just requested, would you seriously consider using cocalc for your course? I'm serious. Could you run some tests of your course materials to see what other frictions points there are for you?
-
I'd be interested at least to run a test on a sample of my students. My main concerns are: 1- SQL: used to run MySQL, I guess SQLite would be ok; 2- dynamic subdomains: for cookie hygiene; 3- UI: not centered around webdev (glitch is a strong competitor here).
-
4- I absolutely need websockets (they don't seem to be proxied). I'll run my course material, and see if I find any more rough edges. It'd be easier with internet access, though.
-
1 - we fully support PostgreSQL (https://github.com/sagemathinc/cocalc/wiki/Using-PostgreSQL-in-CoCalc-in-2-Minutes …!), 2 - we do not have dynamic subdomains (not currently on our roadmap); 3 - true, cocalc is not centered around webdev; 4 - we definitely DO proxy websockets. Email wstein@sagemath.com and I'll give you a trial upgrade.
End of conversation
New conversation -
-
-
-
Nice! I knew you would have an answer! Still a bit rough on the edges, and too bad MySQL is not included, but I guess I can live with sqlite. It'd be nice if console opened in the same window. It'd be even nicer if it was open source!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.