如何使myBinder.org直接启动到Appmode中 [英] How to make myBinder.org launch directly into Appmode
问题描述
我已经在jupyter笔记本中制作了一个简单的应用程序,我正在尝试使用mybinder.org直接将共享链接链接到该应用程序.
I've made a simple app in jupyter notebook and I'm trying to make a shareable link directly into the app using mybinder.org.
但是,我的链接将用户带到笔记本,然后用户必须手动按下顶部的appmode按钮才能切换到appmode.我已经看到了一些活页夹示例,这些活页夹将用户直接带入Appmode而不是笔记本.我该怎么做?
However, my link takes the user to the notebook and then the user has to manually press the appmode button at the top to switch to appmode. I have seen examples of binders that directly take the user into the Appmode instead of the notebook. How can I make mine do the same?
直接将您带到应用程序的链接示例:
Example of link that takes you directly to 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文件是
I have tried editing my environment.yml file but I cannot get it to do what I want. My environment. yml file is
channels:
- conda-forge
dependencies:
- python 3.7
- numpy
- matplotlib
- appmode
这是上面生成应用的存储库:
This is the repository that produced the app above:
https://github.com/oschuett/appmode
我的存储库:
https://github.com/fahimnis/Practice-Project
推荐答案
您将同时附加apps
和特定笔记本以打开您指向用户指向的典型URL,以便通过MyBinder与您的存储库启动会话.它在 https://github.com/oschuett/appmode#说明. launch binder
按钮的URL在 https://github.com/oschuett/appmode.
You append both apps
and the specific notebook to open onto the typical URL that you point users at for launching a session with your repo via MyBinder. It describes how to do it under ‘Decscription’ section at https://github.com/oschuett/appmode#description . An example is in the URL of the launch binder
button at https://github.com/oschuett/appmode.
根据您的情况,链接如下
In your case the link is as follows
https://mybinder.org/v2/gh/fahimnis/RelPermApp/master?urlpath=%2Fapps%2FRelPermApp.ipynb
请注意,如何将https://mybinder.org/v2/gh/fahimnis/Practice-Project/master
的典型启动URL附加到两个项目之后.
Note how the typical launch URL of https://mybinder.org/v2/gh/fahimnis/Practice-Project/master
has been appended with the two items.
这篇关于如何使myBinder.org直接启动到Appmode中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!