mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-11 20:13:02 +00:00
16 lines
405 B
Python
16 lines
405 B
Python
|
|
# To run the announcement service managed by the hub, add this.
|
|
|
|
c.JupyterHub.services = [
|
|
{
|
|
'name': 'announcement',
|
|
'url': 'http://127.0.0.1:8888',
|
|
'command': ["python", "-m", "announcement"],
|
|
}
|
|
]
|
|
|
|
# The announcements need to get on the templates somehow, see page.html
|
|
# for an example of how to do this.
|
|
|
|
c.JupyterHub.template_paths = ["templates"]
|