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
its link will bring up a GitHub listing of changes. Use `git log` on the

View File

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

View File

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

View File

@@ -1,18 +1,14 @@
# Quickstart - Installation
# Quickstart
## Prerequisites
**Before installing JupyterHub**, you will need a Linux/Unix based system:
- [Python](https://www.python.org/downloads/) 3.3 or greater
An understanding of using [`pip`](https://pip.pypa.io/en/stable/) or
- [Python](https://www.python.org/downloads/) 3.3 or greater. An understanding
of using [`pip`](https://pip.pypa.io/en/stable/) or
[`conda`](http://conda.pydata.org/docs/get-started.html) for
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
(Debian/Ubuntu) using:
@@ -24,7 +20,6 @@
required for npm to work on Debian/Ubuntu.)
- TLS certificate and key for HTTPS communication
- Domain name
**Before running the single-user notebook servers** (which may be on the same
@@ -35,17 +30,21 @@ system as the Hub or not):
## 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:**
```bash
python3 -m pip install jupyterhub
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):
```bash
conda install -c conda-forge jupyterhub
conda install notebook # needed if running the notebook servers locally
```
To test your installation:
@@ -55,19 +54,6 @@ jupyterhub -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
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
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
sudo jupyterhub

View File

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