Fix typos

This commit is contained in:
Carol Willing
2017-07-24 08:57:25 -07:00
parent e21737399b
commit c0b482e68c

View File

@@ -13,8 +13,8 @@ This section will help you learn how to:
## Generate a default config file ## Generate a default config file
On startup, JupyterHub will look by default for a configuration file named On startup, JupyterHub will look by default for a configuration file,
`jupyterhub_config.py` in the current working directory. `jupyterhub_config.py`, in the current working directory.
To generate a default config file, `jupyterhub_config.py`: To generate a default config file, `jupyterhub_config.py`:
@@ -56,18 +56,19 @@ To display all command line options that are available for configuration:
``` ```
Configuration using the command line options is done when launching JupyterHub. Configuration using the command line options is done when launching JupyterHub.
For example, to start JupyterHub on ``10.0.1.2:443`` with **https**, you For example, to start JupyterHub on ``10.0.1.2:443`` with https, you
would enter: would enter:
```bash ```bash
jupyterhub --ip 10.0.1.2 --port 443 --ssl-key my_ssl.key --ssl-cert my_ssl.cert jupyterhub --ip 10.0.1.2 --port 443 --ssl-key my_ssl.key --ssl-cert my_ssl.cert
``` ```
All configurable options are technically configurable on the command-line, All configurable options may technically be set on the command-line,
though some are inconvenient to type. To set a particular configuration though some are inconvenient to type. To set a particular configuration
parameter, `c.Class.trait`, use the command line option, `--Class.trait`, when parameter, `c.Class.trait`, you would use the command line option,
starting JupyterHub. For example, configure the `c.Spawner.notebook_dir` `--Class.trait`, when starting JupyterHub. For example, to configure the
trait from the command-line, use `--Spawner.notebook_dir`: `c.Spawner.notebook_dir` trait from the command-line, use the
`--Spawner.notebook_dir` option:
```bash ```bash
jupyterhub --Spawner.notebook_dir='~/assignments' jupyterhub --Spawner.notebook_dir='~/assignments'
@@ -78,8 +79,8 @@ jupyterhub --Spawner.notebook_dir='~/assignments'
The default authentication and process spawning mechanisms can be replaced, and The default authentication and process spawning mechanisms can be replaced, and
specific [authenticators](docs/source/authenticators-users-basics.md) and specific [authenticators](docs/source/authenticators-users-basics.md) and
[spawners](docs/source/spawners-basics.md) can be set in the configuration file. [spawners](docs/source/spawners-basics.md) can be set in the configuration file.
This enables JupyterHub to be used in a variety of authentication methods or process This enables JupyterHub to be used with a variety of authentication methods or
control and deployment environments. [Some examples](docs/source/config-examples.md), process control and deployment environments. [Some examples](docs/source/config-examples.md),
meant as illustration, are: meant as illustration, are:
- Using GitHub OAuth instead of PAM with [OAuthenticator](https://github.com/jupyterhub/oauthenticator) - Using GitHub OAuth instead of PAM with [OAuthenticator](https://github.com/jupyterhub/oauthenticator)