我已经在jupyter notebook中创建了一个简单的应用程序,我正尝试使用mybinder.org将一个可共享的链接直接添加到该应用程序中。
但是,我的链接将用户带到notebook,然后用户必须手动按下顶部的appmode按钮才能切换到appmode。我见过直接将用户带入Appmode而不是notebook的绑定器的例子。我怎么才能让我的也这么做呢?
直接转到app的链接示例:
https://mybinder.org/v2/gh/oschuett/appmode/master?urlpath=%2Fapps%2Fexample_app.ipynb
我的链接:
https://mybinder.org/v2/gh/fahimnis/Practice-Project.git/master
我已尝试编辑我的environment.yml文件,但我无法让它执行我想要的操作。我的环境。yml文件是
channels:
- conda-forge
dependencies:
- python 3.7
- numpy
- matplotlib
- appmode这是生成上述应用程序的存储库:
https://github.com/oschuett/appmode
我的存储库:
发布于 2020-09-09 04:58:44
输入存储库URL、Git分支和notebook的路径后,执行以下操作:
它看起来像这样:(https://mybinder.org/badge_logo.svg)(https://mybinder.org/v2/gh/username/repository/master?filepath=Analysis.ipynb),
这是指向Jupyter Notebook的web应用程序版本的链接。
发布于 2019-12-13 03:31:27
您可以将apps和特定的notebook添加到典型的URL上,您可以将用户指向该URL,以便通过MyBinder启动与您的存储库的会话。它在https://github.com/oschuett/appmode#description的“描述”部分描述了如何做到这一点。https://github.com/oschuett/appmode上的launch binder按钮的URL中就有一个例子。
在您的示例中,链接如下所示
https://mybinder.org/v2/gh/fahimnis/RelPermApp/master?urlpath=%2Fapps%2FRelPermApp.ipynb请注意https://mybinder.org/v2/gh/fahimnis/Practice-Project/master的典型启动URL是如何附加到这两个项目的。
https://stackoverflow.com/questions/58151628
复制相似问题