Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Add base for c++ xeus-cling notebooks to run google collab, mybinder.org #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tapaswenipathak
Copy link

@tapaswenipathak tapaswenipathak commented Feb 25, 2023

Higher Prio

This PR should be to OpenMS/OpenMS?

Lower Prio

Closes OpenMS/OpenMS#6304.

@tapaswenipathak
Copy link
Author

cc @tjeerdijk @jpfeuffer.

## To run in local

1. Create conda environment `cling-notebooks` using: `conda create -n cling-notebooks`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just use the environment.yml?

@jpfeuffer
Copy link

jpfeuffer commented Feb 27, 2023

Yes, I think it could go into OpenMS/OpenMS. I am open to suggestions. The disadvantage is that you will have quite a full binder with all the files. Maybe we can force binder to only checkout subfolder(s).

Instead of creating every notebook just create a postBuild script for Binder in which you convert all code_examples with jupytext

@jpfeuffer
Copy link

And by the way. If I try to open that in Binder, it does not work since your user name etc is hardcoded in the includes.

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

Successfully merging this pull request may close these issues.

Run C++ code examples as Jupyter Notebooks on Binder/Google Collab (whichever works)
2 participants