s/JupyterHubApp/JupyterHub/

users shouldn't need to know wtf Applications are
This commit is contained in:
Min RK
2014-11-25 19:55:24 -08:00
parent 3c204e6297
commit fb7cc171c6
6 changed files with 34 additions and 29 deletions

View File

@@ -3,7 +3,7 @@
c = get_config()
# Add some users.
c.JupyterHubApp.admin_users = {'rhea'}
c.JupyterHub.admin_users = {'rhea'}
c.Authenticator.whitelist = {'ganymede', 'io', 'rhea'}
# These environment variables are automatically supplied by the linked postgres
@@ -11,7 +11,7 @@ c.Authenticator.whitelist = {'ganymede', 'io', 'rhea'}
import os;
pg_pass = os.getenv('POSTGRES_ENV_JPY_PSQL_PASSWORD')
pg_host = os.getenv('POSTGRES_PORT_5432_TCP_ADDR')
c.JupyterHubApp.db_url = 'postgresql://jupyterhub:{}@{}:5432/jupyterhub'.format(
c.JupyterHub.db_url = 'postgresql://jupyterhub:{}@{}:5432/jupyterhub'.format(
pg_pass,
pg_host,
)