tag:crieit.net,2005:https://crieit.net/boards/translator/feed 「Binder User Guide 翻訳」の投稿 - Crieit Crieitで「Binder User Guide 翻訳」ボードに投稿された最近の投稿 2022-07-06T13:24:17+09:00 https://crieit.net/boards/translator/feed tag:crieit.net,2005:PublicArticle/c1cde83e259b5fc11fe22d5f3b6ee8cb 2022-07-06T13:24:17+09:00 2022-07-06T13:24:17+09:00 https://crieit.net/boards/translator/c1cde83e259b5fc11fe22d5f3b6ee8cb https://rentry.co/98ovp <p><a target="_blank" rel="nofollow noopener" href="https://rentry.co/98ovp">https://rentry.co/98ovp</a></p> tomato tag:crieit.net,2005:PublicArticle/17518d85b207cdb4e79cd675304bb5db 2022-07-01T14:54:47+09:00 2022-07-01T14:54:47+09:00 https://crieit.net/boards/translator/17518d85b207cdb4e79cd675304bb5db https://mybinder.readthedocs.io/en/latest/intro... <p><a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org">https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org</a></p> <p><img src="https://mybinder.readthedocs.io/en/latest/_static/logo.png" alt="" /></p> <h2>Get started with Binder</h2> <p>このページは、独自のリポジトリを構築し、それらをBinderと共有するのに役立ちます。一般的なバインダープロジェクトの詳細については、‌mybinder.orgについて✧1✧‌を参照してください。</p> <p>link✧1: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/about/index.html">About mybinder.org</a></p> <p>!!!info 別の有用なリソース<br /> ‌TheTuringWay✧2✧‌は、3つの一般的なプログラミング言語で‌Zero-to-Binderチュートリアル✧3✧‌もあります。</p> <pre><code>![](https://the-turing-way.netlify.app/_static/logo.jpg) link✧2: [The Turing Way](https://github.com/alan-turing-institute/the-turing-way) link✧3: [Zero-to-Binder tutorial](https://the-turing-way.netlify.app/communication/binder/zero-to-binder.html) </code></pre> <h2>What is a Binder?</h2> <p>バインダー(バインダー対応リポジトリーとも呼ばれます)は、少なくとも2つのものを含むコードリポジトリーです。</p> <ul> <li><p>人々に実行してもらいたいコードまたはコンテンツ。これは、アイデアを説明するJupyter Notebook、または視覚化を行うRスクリプトである可能性があります。</p></li> <li><p>ご使用の環境の構成ファイル。これらのファイルは、コードの実行に必要な環境を構築するためにBinderによって使用されます。使用可能なすべての構成ファイルのリストについては、‌構成ファイル✧4✧‌ページを参照してください。</p></li> </ul> <p>link✧4: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/using/config_files.html#config-files">Configuration Files</a><br /> 構成ファイルは、リポジトリのルートまたはリポジトリのルート(つまり、myproject/binder/)。</p> <p>Binderリポジトリは、BinderHubによって構築できます。これにより、他のユーザーと共有できるリンクが生成され、他のユーザーがリポジトリ内のコンテンツと対話できるようになります。</p> <h2>What is mybinder.org ?</h2> <p>mybinder.orgは、オンラインリポジトリから再現可能でインタラクティブな計算環境を構築および共有するためのオンラインサービスです。内部的には、‌Binderコミュニティ✧6✧‌によって維持されているのは、BinderHubデプロイメントのフェデレーションです。これは、BinderHubinの唯一の存在ではありませんが、公共サービスとBinderHubテクノロジーのデモンストレーションの両方の役割を果たします。独自のBinderHubを自分の用途に展開することに興味がある場合は、‌BinderHubのドキュメント✧5✧‌を参照し、‌Binderコミュニティ✧6✧‌に連絡することを躊躇しないでください。</p> <p>✦link✧✸5: <a target="_blank" rel="nofollow noopener" href="https://binderhub.readthedocs.io/en/latest">BinderHub documentation</a><br /> ✦link✧✸6: <a target="_blank" rel="nofollow noopener" href="https://gitter.im/jupyterhub/binder">Binder community</a></p> <h2>What is the Binder community?</h2> <p>計算資料(Jupyterノートブック、Rスクリプト、environmentfilesなど)を計算環境(Dockerイメージ)に簡単に変換し、クラウドを介してこの環境にサービスを提供することを目的とした人々の集まり。このプロセスを管理する基盤となるテクノロジーは、‌BinderHub✧7✧‌と呼ばれます。</p> <p>✦link✧✸7: <a target="_blank" rel="nofollow noopener" href="https://binderhub.readthedocs.io/en/latest">BinderHub</a><br /> 詳細については、:ref:aboutをご覧ください。</p> <h2>What is BinderHub?</h2> <p>‌BinderHub✧8✧‌は、計算材料をクラウド内のインタラクティブな計算環境に変えるサーバーテクノロジーです。展開プロセスを簡素化し、拡張を容易にするために、‌KubernetesとJupyterHub✧9✧‌を利用します。</p> <p>✦link✧✸8: <a target="_blank" rel="nofollow noopener" href="https://binderhub.readthedocs.io/en/latest">BinderHub</a><br /> ✦link✧✸9: <a target="_blank" rel="nofollow noopener" href="https://z2jh.jupyter.org/">Kubernetes and JupyterHub</a></p> <h2>How can I prepare a repository for Binder?</h2> <p>mybinder.orgのBinderHubで使用するためにリポジトリを準備するには、次の条件が満たされていることを確認する必要があります。</p> <ul> <li><p>リポジトリはオンラインの公開場所にあります(GitHubやBitBucketなど)</p></li> <li><p>リポジトリには、個人情報や機密情報(パスワードなど)は必要ありません。</p></li> <li><p>リポジトリには、その環境を指定する構成ファイルがあります(例については以下を参照してください)。</p></li> <li><p>リポジトリには、人々が読むために設計されたコンテンツが含まれています。</p></li> </ul> <p>!!!info ヒント<br /> バインダーで使用するサンプルリポジトリのリストについては、‌サンプルバインダーリポジトリ✧10✧‌ページを参照してください。</p> <pre><code>✦link✧✸10: [Sample Binder Repositories](https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/examples/sample_repos.html) </code></pre> <h2>How can I customize my Binder environment?</h2> <p>バインダー環境をカスタマイズする方法はたくさんあります。たとえば、‌多くのオープンソース言語を使用する✧11✧‌、‌ユーザーインターフェイスを構成する✧12✧‌などがあります。</p> <p>✦link✧✸11: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/howto/languages.html">use many open source languages</a><br /> ✦link✧✸12: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/howto/user_interface.html">configure the user interface</a><br /> 詳細については、‌ハウツーガイド✧13✧‌または‌サンプルリポジトリの例✧14✧‌をご覧ください。</p> <p>✦link✧✸13: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/howto/index.html">the How-to guides</a><br /> ✦link✧✸14: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/examples/index.html">the sample repository examples</a></p> <h2>A Binder example</h2> <p>たとえば、実行するためにいくつかのパッケージを必要とする単純なリポジトリを見てみましょう。</p> <h3>Explore the repository contents</h3> <p>このリポジトリの内容を調べると、次のファイルが表示されます。</p> <h2>この場合、2つの重要なファイルがあります。</h2> <pre><code>./ ├── environment.yml ├── index.ipynb └── README.md </code></pre> <ul> <li><p>コンテンツファイル:index.ipynbは、プロットを生成する短いJupyterNotebookです。</p></li> <li><p>環境構成ファイル:environment.ymlは、Anaconda環境を指定する標準ファイルです。</p></li> </ul> <p>!!!info 重要</p> <pre><code>environment.ymlはバインダー固有ではないことに気付くかもしれません。これは意図的なものです。バインダーは、データサイエンスコミュニティですでに標準となっている環境構成ファイルを使用しようとします。使用可能なすべての構成ファイルのリストについては、‌構成ファイル✧15✧‌ページを参照してください。 ✦link✧✸15: [Configuration Files](https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/using/config_files.html#config-files) </code></pre> <h2>Get your own copy of this repository</h2> <p>これらのファイルを含むリポジトリは、次のリンクにあります。</p> <p>‌https://github.com/binder-examples/conda✧16✧‌</p> <p>✦link✧✸16: https://github.com/binder-examples/conda<br /> Binderの動作を監視するには、最初にこのリポジトリをフォークします。これにより、condaリポジトリの独自のコピーが提供されます。</p> <h2>Build your repository</h2> <p>次に、バインダーリポジトリを構築しましょう。 ‌https://mybinder.org✧17✧‌にアクセスします。mybinder.orgをビルドするためのリポジトリを指定するように求めるフォームが表示されます。最初のフィールドに、フォークされたリポジトリのURLを貼り付けます。これは次のようになります。</p> <p>✦link✧✸17: https://mybinder.org</p> <pre><code>[https://github.com/<your-username>/conda](https://github.com/<your-username>/conda) </code></pre> <p>最後に、起動ボタンをクリックします。これにより、mybinder.orgは、リポジトリの実行に必要な環境を構築するように求められます。 [ログのビルド]ボタンをクリックすると、ビルドプロセスによって生成されたログを確認できます。</p> <p>バインダーリポジトリの構築中に、一意のバインダーを指すURLをメモします。このURLを友人と共有して、リポジトリのインタラクティブバージョンにアクセスできるようにすることができます。</p> <p>BinderHubユーザーインターフェイスの簡単なレイアウトについては、以下を参照してください。</p> <p><img src="https://mybinder.readthedocs.io/en/latest/_images/mybinder-ui-start.png" alt="" /></p> <p>バインダーリポジトリがすでに一度ビルドされている場合は、その後のバインダーリンクをクリックしてもビルドプロセスは再トリガーされません。ただし、リポジトリに変更をプッシュすると、次に誰かがリンクをクリックしたときにリポジトリが再構築されます。</p> <p>環境ファイルとコンテンツファイルが同じリポジトリの同じブランチに格納されていない場合、URLの生成方法については、‌コンテンツと環境に異なるリポジトリを使用する✧18✧‌ページを参照してください。</p> <p>✦link✧✸18: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/howto/external_binder_setup.html#external-binder-setup">Use different repositories for content and environment</a><br /> Binderに慣れてきたので、Binderでできることの詳細については、‌一般的な使用例✧19✧‌ページを参照してください。</p> <p>✦link✧✸19: <a target="_blank" rel="nofollow noopener" href="https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-mybinder-org\/using/using.html#using-binder">Common use-cases</a></p> tomato tag:crieit.net,2005:PublicArticle/e67cac06c6dab3e4663dfaa2b6f2c521 2022-07-01T14:52:41+09:00 2022-07-01T14:53:30+09:00 https://crieit.net/boards/translator/e67cac06c6dab3e4663dfaa2b6f2c521 https://rentry.co/3xiki/ <p><a target="_blank" rel="nofollow noopener" href="https://rentry.co/3xiki/">https://rentry.co/3xiki/</a></p> tomato tag:crieit.net,2005:PublicArticle/8da17f04b996a437f2b94536d8d1cef9 2022-06-30T20:40:46+09:00 2022-06-30T20:40:46+09:00 https://crieit.net/boards/translator/8da17f04b996a437f2b94536d8d1cef9 https://kuro.bearblog.dev/mybinder/ <p><a target="_blank" rel="nofollow noopener" href="https://kuro.bearblog.dev/mybinder/">https://kuro.bearblog.dev/mybinder/</a></p> tomato