Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Feb 23, 2018
1 parent b077bf0 commit 9578cac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ This repo contains html jinja2 templates for customising the appearance of Jupyt

## Usage

To use this repo ensure it is checked out and available somewhere that JupyterHub can find it. In thie example we will assume we have cloned it to `/usr/local/share/jupyter/hub/custom_templates`.
To use this repo ensure it is checked out and available somewhere that JupyterHub can find it. In thie example we will assume we have cloned it somewhere and created the following symlinks

`/path/to/repo/templates` -> `/usr/local/share/jupyter/hub/custom_templates`
`/path/to/repo/assets` -> `/usr/local/share/jupyter/hub/static/custom`

Add the following to your JupyterHub config

```python
c.JupyterHub.logo_file = '/usr/local/share/jupyter/hub/custom_templates/logo.png'
c.JupyterHub.logo_file = '/usr/local/share/jupyter/hub/static/custom/images/logo.png'
c.JupyterHub.template_paths = ['/usr/local/share/jupyter/hub/custom_templates/',
'/usr/local/share/jupyter/hub/templates/']
```

0 comments on commit 9578cac

Please sign in to comment.