kopia lustrzana https://github.com/jupyterhub/repo2docker
Update links to docs in the README
rodzic
d3c0aec374
commit
36c204d85b
34
README.md
34
README.md
|
@ -1,15 +1,19 @@
|
||||||
# jupyter-repo2docker
|
# repo2docker
|
||||||
|
|
||||||
[](https://travis-ci.org/jupyter/repo2docker)
|
[](https://travis-ci.org/jupyter/repo2docker)
|
||||||
[](http://repo2docker.readthedocs.io/en/latest/?badge=latest)
|
[](http://repo2docker.readthedocs.io/en/latest/?badge=latest)
|
||||||
|
|
||||||
**jupyter-repo2docker** takes as input a repository source, such as a GitHub
|
`repo2docker` fetches a git repository and builds a container image based on
|
||||||
repository. It then builds, runs, and/or pushes Docker images built from that source.
|
the configuration files found in the repository.
|
||||||
|
|
||||||
See the [repo2docker documentation](http://repo2docker.readthedocs.io)
|
See the [repo2docker documentation](http://repo2docker.readthedocs.io)
|
||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
## Prerequisites
|
See the [contributing guide](CONTRIBUTING.md) for information on contributing to
|
||||||
|
repo2docker.
|
||||||
|
|
||||||
|
## Using repo2docker
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
1. Docker to build & run the repositories. The [community edition](https://store.docker.com/search?type=edition&offering=community)
|
1. Docker to build & run the repositories. The [community edition](https://store.docker.com/search?type=edition&offering=community)
|
||||||
is recommended.
|
is recommended.
|
||||||
|
@ -17,9 +21,11 @@ for more information.
|
||||||
|
|
||||||
Supported on Linux and macOS. [See documentation note about Windows support.](http://repo2docker.readthedocs.io/en/latest/install.html#note-about-windows-support)
|
Supported on Linux and macOS. [See documentation note about Windows support.](http://repo2docker.readthedocs.io/en/latest/install.html#note-about-windows-support)
|
||||||
|
|
||||||
## Installation
|
### Installation
|
||||||
|
|
||||||
To install from PyPI, the python packaging index, using `pip`:
|
This a quick guide to installing `repo2docker`, see our documentation for [a full guide](https://repo2docker.readthedocs.io/en/latest/install.html).
|
||||||
|
|
||||||
|
To install from PyPI:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install jupyter-repo2docker
|
pip install jupyter-repo2docker
|
||||||
|
@ -33,11 +39,11 @@ cd repo2docker
|
||||||
pip install -e .
|
pip install -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
### Usage
|
||||||
|
|
||||||
The core feature of repo2docker is to fetch a repository (from GitHub or locally),
|
The core feature of repo2docker is to fetch a git repository (from GitHub or locally),
|
||||||
build a container image based on the specifications found in the repository &
|
build a container image based on the specifications found in the repository &
|
||||||
optionally launch a local Jupyter Notebook you can use to explore it.
|
optionally launch the container that you can use to explore the repository.
|
||||||
|
|
||||||
**Note that Docker needs to be running on your machine for this to work.**
|
**Note that Docker needs to be running on your machine for this to work.**
|
||||||
|
|
||||||
|
@ -62,11 +68,13 @@ with the contents of the repository you had just built!
|
||||||
For more information on how to use ``repo2docker``, see the
|
For more information on how to use ``repo2docker``, see the
|
||||||
[usage guide](http://repo2docker.readthedocs.io/en/latest/usage.html).
|
[usage guide](http://repo2docker.readthedocs.io/en/latest/usage.html).
|
||||||
|
|
||||||
|
|
||||||
## Repository specifications
|
## Repository specifications
|
||||||
|
|
||||||
Repo2Docker looks for configuration files in the source repository to
|
Repo2Docker looks for configuration files in the source repository to
|
||||||
determine how the Docker image should be built. It is philosophically similar
|
determine how the Docker image should be built. For a list of the configuration
|
||||||
to [Heroku Build Packs](https://devcenter.heroku.com/articles/buildpacks).
|
files that ``repo2docker`` can use, see the
|
||||||
|
[complete list of configuration files](https://repo2docker.readthedocs.io/en/latest/config_files.html).
|
||||||
|
|
||||||
For a list of the configuration files that ``repo2docker`` can use,
|
The philosophy of repo2docker is inspired by
|
||||||
see the [usage guide](http://repo2docker.readthedocs.io/en/latest/usage.html).
|
[Heroku Build Packs](https://devcenter.heroku.com/articles/buildpacks).
|
||||||
|
|
Ładowanie…
Reference in New Issue