simplify singleuser-service examples

now that service env vars are respected
This commit is contained in:
Min RK
2017-01-06 17:21:28 +01:00
parent 0bd34e0a10
commit 8a226e6f46
2 changed files with 7 additions and 16 deletions

View File

@@ -2,11 +2,8 @@
set -e
export JUPYTERHUB_API_TOKEN=super-secret
export JUPYTERHUB_SERVICE_URL=http://127.0.0.1:9999
export JUPYTERHUB_SERVICE_NAME=shared-notebook
jupyterhub-singleuser \
--cookie-name=jupyterhub-services \
--port=9999 \
--group='shared' \
--base-url=/services/shared-notebook \
--hub-prefix=/hub/ \
--hub-api-url=http://127.0.0.1:8081/hub/api/
--group='shared'