mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add base conda constructor files
This commit is contained in:
12
installer/construct.yaml
Normal file
12
installer/construct.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: TheLittlestJupyterHub
|
||||||
|
version: 0.1
|
||||||
|
|
||||||
|
channels:
|
||||||
|
- http://repo.continuum.io/pkgs/free/
|
||||||
|
- https://conda.anaconda.org/conda-forge
|
||||||
|
|
||||||
|
specs:
|
||||||
|
- python 3.6
|
||||||
|
- conda
|
||||||
|
|
||||||
|
post_install: post-install.bash
|
||||||
10
installer/post-install.bash
Executable file
10
installer/post-install.bash
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Run by the installer after the hub environment has been set up.
|
||||||
|
|
||||||
|
export PATH=${PREFIX}/bin:$PATH
|
||||||
|
|
||||||
|
pip install --no-cache-dir -e /home/yuvipanda/code/littlest-jupyterhub
|
||||||
|
|
||||||
|
python3 -m tljh.installer
|
||||||
Reference in New Issue
Block a user