- Clone this repo
- Add all required users to users.txt
- Add users to whitelist in jupyterhub_config.py
- Add libraries to pip install in requirements.txt
- Add libraries to conda install in conda_requirements.txt
- Uncomment Case 3 lines in Dockerfile
- Add nbgitpuller link to templates/home.html
- Change the required lines in httpd_jupyterhub_confd
- ...
- Uncomment Case 4 lines in jupyterhub_config.py
docker build . -t <image_name>
docker run --publish 8000:8001 --detach --name container_name image_name:latest
Go to localhost:8001 or (url/subdomain_name if using Apache)
If using nbgitpuller: Log in and go to the Control panel (top right) to see the download link
docker exec -it container_name bash
echo "username:password::::/home/username/:" > new_user.txt
newusers new_user.txt