Merge pull request #1231 from willingc/doc-refresh

Update docs main TOC and edit quickstart
This commit is contained in:
Min RK
2017-07-18 13:19:45 +02:00
committed by GitHub
5 changed files with 34 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
# Change log summary # Changelog
For detailed changes from the prior release, click on the version number, and For detailed changes from the prior release, click on the version number, and
its link will bring up a GitHub listing of changes. Use `git log` on the its link will bring up a GitHub listing of changes. Use `git log` on the

View File

@@ -4,9 +4,11 @@ Configuration Guide
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
howitworks
websecurity
rest
authenticators authenticators
spawners spawners
services services
config-examples
upgrading upgrading
troubleshooting config-examples

View File

@@ -35,33 +35,40 @@ For convenient administration of the Hub, its users, and :doc:`services`
Contents Contents
-------- --------
**User Guide** **Installation Guide**
* :doc:`quickstart` * :doc:`quickstart`
* :doc:`getting-started` * :doc:`getting-started`
* :doc:`howitworks`
* :doc:`websecurity`
* :doc:`rest`
**Configuration Guide** **Configuration Guide**
* :doc:`howitworks`
* :doc:`websecurity`
* :doc:`rest`
* :doc:`authenticators` * :doc:`authenticators`
* :doc:`spawners` * :doc:`spawners`
* :doc:`services` * :doc:`services`
* :doc:`config-examples`
* :doc:`upgrading` * :doc:`upgrading`
* :doc:`troubleshooting` * :doc:`config-examples`
**API Reference** **API Reference**
* :doc:`api/index` * :doc:`api/index`
**About JupyterHub** **Troubleshooting**
* :doc:`troubleshooting`
**Changelog**
* :doc:`changelog` * :doc:`changelog`
**About JupyterHub**
* :doc:`contributor-list` * :doc:`contributor-list`
* :doc:`gallery-jhub-deployments` * :doc:`gallery-jhub-deployments`
@@ -90,6 +97,7 @@ Full Table of Contents
user-guide user-guide
configuration-guide configuration-guide
api/index api/index
troubleshooting
changelog changelog
contributor-list contributor-list
gallery-jhub-deployments gallery-jhub-deployments

View File

@@ -1,18 +1,14 @@
# Quickstart - Installation # Quickstart
## Prerequisites ## Prerequisites
**Before installing JupyterHub**, you will need a Linux/Unix based system: **Before installing JupyterHub**, you will need a Linux/Unix based system:
- [Python](https://www.python.org/downloads/) 3.3 or greater - [Python](https://www.python.org/downloads/) 3.3 or greater. An understanding
of using [`pip`](https://pip.pypa.io/en/stable/) or
An understanding of using [`pip`](https://pip.pypa.io/en/stable/) or
[`conda`](http://conda.pydata.org/docs/get-started.html) for [`conda`](http://conda.pydata.org/docs/get-started.html) for
installing Python packages is helpful. installing Python packages is helpful.
- [nodejs/npm](https://www.npmjs.com/) [Install nodejs/npm](https://docs.npmjs.com/getting-started/installing-node),
- [nodejs/npm](https://www.npmjs.com/)
[Install nodejs/npm](https://docs.npmjs.com/getting-started/installing-node),
using your operating system's package manager. For example, install on Linux using your operating system's package manager. For example, install on Linux
(Debian/Ubuntu) using: (Debian/Ubuntu) using:
@@ -24,7 +20,6 @@
required for npm to work on Debian/Ubuntu.) required for npm to work on Debian/Ubuntu.)
- TLS certificate and key for HTTPS communication - TLS certificate and key for HTTPS communication
- Domain name - Domain name
**Before running the single-user notebook servers** (which may be on the same **Before running the single-user notebook servers** (which may be on the same
@@ -35,17 +30,21 @@ system as the Hub or not):
## Installation ## Installation
JupyterHub can be installed with `pip` or `conda` and the proxy with `npm`: JupyterHub can be installed with `pip` (and the proxy with `npm`) or `conda`:
**pip, npm:** **pip, npm:**
```bash ```bash
python3 -m pip install jupyterhub python3 -m pip install jupyterhub
npm install -g configurable-http-proxy npm install -g configurable-http-proxy
python3 -m pip install notebook # needed if running the notebook servers locally
``` ```
**conda** (one command installs jupyterhub and proxy): **conda** (one command installs jupyterhub and proxy):
```bash ```bash
conda install -c conda-forge jupyterhub conda install -c conda-forge jupyterhub
conda install notebook # needed if running the notebook servers locally
``` ```
To test your installation: To test your installation:
@@ -55,19 +54,6 @@ jupyterhub -h
configurable-http-proxy -h configurable-http-proxy -h
``` ```
If you plan to run notebook servers locally, you will need also to install
Jupyter notebook:
**pip:**
```bash
python3 -m pip install notebook
```
**conda:**
```bash
conda install notebook
```
## Start the Hub server ## Start the Hub server
To start the Hub server, run the command: To start the Hub server, run the command:
@@ -79,7 +65,8 @@ jupyterhub
Visit `https://localhost:8000` in your browser, and sign in with your unix Visit `https://localhost:8000` in your browser, and sign in with your unix
credentials. credentials.
To allow multiple users to sign into the Hub server, you must start `jupyterhub` as a *privileged user*, such as root: To allow multiple users to sign into the Hub server, you must start
`jupyterhub` as a *privileged user*, such as root:
```bash ```bash
sudo jupyterhub sudo jupyterhub

View File

@@ -1,11 +1,8 @@
JupyterHub User Guide Installation Guide
===================== ==================
.. toctree:: .. toctree::
:maxdepth: 3 :maxdepth: 3
quickstart quickstart
getting-started getting-started
howitworks
websecurity
rest