如何使myBinder.org直接启动到Appmode中

问题描述 投票:0回答:1

[我已经在jupyter笔记本中制作了一个简单的应用程序,我正在尝试使用mybinder.org直接将共享链接链接到该应用程序。

但是,我的链接将用户带到笔记本电脑,然后用户必须手动按下顶部的appmode按钮才能切换到appmode。我已经看到了一些活页夹示例,这些活页夹将用户直接带入Appmode而不是笔记本。我该如何做同样的事情?

直接将您带到应用程序的链接示例:

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

我的存储库:

https://github.com/fahimnis/Practice-Project

python-3.x jupyter-notebook android-binder
1个回答
0
投票

您同时附加了apps和特定的笔记本,以打开指向用户指向的典型URL,以通过MyBinder启动与您的仓库的会话。它在https://github.com/oschuett/appmode#description的“说明”部分中描述了如何执行此操作。 launch binderhttps://github.com/oschuett/appmode按钮的URL中有一个示例。

根据您的情况,链接如下

https://mybinder.org/v2/gh/fahimnis/RelPermApp/master?urlpath=%2Fapps%2FRelPermApp.ipynb

请注意,https://mybinder.org/v2/gh/fahimnis/Practice-Project/master的典型启动URL后面如何附加了这两个项目。

© www.soinside.com 2019 - 2024. All rights reserved.