mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Initial commit
This commit is contained in:
9
jupyterhub_config.py
Normal file
9
jupyterhub_config.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
c.JupyterHub.spawner_class = 'systemdspawner.SystemdSpawner'
|
||||||
|
|
||||||
|
c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'
|
||||||
|
|
||||||
|
# FIXME: ensure user conda environment is installed & has necessary packages.
|
||||||
|
here = os.getcwd()
|
||||||
|
c.SystemdSpawner.extra_paths = [os.path.join(here, 'user-environment/bin')]
|
||||||
7
littlest-jupyterhub/build.sh
Normal file
7
littlest-jupyterhub/build.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# FIXME: Should this coming from conda-forge instead?
|
||||||
|
$PYTHON -m pip install --no-deps --ignore-installed \
|
||||||
|
jupyterhub-systemdspawner==0.9.10 \
|
||||||
|
jupyterhub-dummyauthenticator==0.3.1
|
||||||
15
littlest-jupyterhub/meta.yaml
Normal file
15
littlest-jupyterhub/meta.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
package:
|
||||||
|
name: littlest-jupyterhub
|
||||||
|
version: v0.1
|
||||||
|
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: 13
|
||||||
|
requirements:
|
||||||
|
host:
|
||||||
|
- python
|
||||||
|
- pip
|
||||||
|
|
||||||
|
run:
|
||||||
|
- python
|
||||||
|
- jupyterhub
|
||||||
Reference in New Issue
Block a user