Skip to content
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

Thoughts on how to run iJavaScript on mybinder? #273

Open
paulroth3d opened this issue May 26, 2022 · 4 comments
Open

Thoughts on how to run iJavaScript on mybinder? #273

paulroth3d opened this issue May 26, 2022 · 4 comments
Labels

Comments

@paulroth3d
Copy link

@n-riesco - might you know what would be needed for a notebook to run in mybinder.org - so it would have the ijavaScript kernel running?

Sorry if there are a number of threads on this topic, and I'm adding to them

but I couldn't tell if this still needed something and was open like #196,

or well understood by others, and not me yet like #277 or #188

@paulroth3d
Copy link
Author

I've been looking briefly into the documentation, from the great zero-to-binder tutorial

and found in their readme that they support things outside of just requirements.txt - pointing to docs on repo2docker

There it seems like there might be two options:

  • Provide a docker file
  • Or do something like an apt.txt to install node and then run a postBuild

I noticed that there was a pull request #192 that seemed accepted (test/ijavascript-base-notebook-latest/Dockerfile) but then removed.

(...although it seems there is a ... copy stored in a gist)

I was curious what the current thoughts were,
or if there was an image on dockerhub I missed

@paulroth3d
Copy link
Author

For anyone else looking to run your project on mybinder, I made an instance that fixes a few of the issues I noticed with https://hub.docker.com/r/datainpoint/ijavascript-notebook

Plain:
Binder:what can I do with this

Pre-loading the example.ipynb
Binder:what can I do with this

Writeup is here: https://github.com/paulroth3d/docker_jupyter-ijavascript-utils

TLDR:

Either make a DockerFile similar to the following:

# syntax=docker/dockerfile:1

FROM darkbluestudios/jupyter-ijavascript-utils:amd_1.0.1

Or, if you'd like to update to have your own npm modules pre-installed:

@paulroth3d
Copy link
Author

paulroth3d commented Nov 21, 2022

@n-riesco - would rather ask - would this be okay to close?

I also put a comment on #196

as it seems like some work has been done there a bit, if you'd like to put in a comment there too.

@n-riesco
Copy link
Owner

@paulroth3d First of all, apologies for my silence (I keep forgetting about open issues like yours, when I can't act on them right away 😞 ).

I've labelled this issue as a question (I'm using this label as temporary FAQ before I rehaul the README).

Thank you for all the work you've put. It looks impressive in many ways. I want to give it more visibility in the README (I will leave this issue open as a reminder for me to do so).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants