File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """sample jupyterhub config file for testing
2+
3+ configures jupyterhub with dummyauthenticator and simplespawner
4+ to enable testing without administrative privileges.
5+ """
6+
7+ c = get_config () # noqa
8+
9+ c .JupyterHub .authenticator_class = "dummy"
10+
11+ # Optionally set a global password that all users must use
12+ #c.DummyAuthenticator.password = "your_password"
13+
14+ c .JupyterHub .spawner_class = "simple"
15+
16+ # only listen on localhost for testing
17+ c .JupyterHub .bind_url = 'http://127.0.0.1:8000'
18+
19+ # don't cache static files
20+ c .JupyterHub .tornado_settings = {
21+ "no_cache_static" : True ,
22+ "slow_spawn_timeout" : 0 ,
23+ }
24+
25+ c .JupyterHub .allow_named_servers = True
26+ c .JupyterHub .default_url = "/hub/home"
27+
28+ # make sure admin UI is available and any user can login
29+ c .Authenticator .admin_users = {"admin" }
30+ c .Authenticator .allow_all = True
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments