Initial commit

This commit is contained in:
yuvipanda
2018-06-15 16:17:07 -07:00
parent 4a74ad17a1
commit f04bf9bdfb
3 changed files with 31 additions and 0 deletions

9
jupyterhub_config.py Normal file
View 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')]

View 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

View File

@@ -0,0 +1,15 @@
package:
name: littlest-jupyterhub
version: v0.1
build:
number: 13
requirements:
host:
- python
- pip
run:
- python
- jupyterhub