Commit Graph

1298 Commits

Author SHA1 Message Date
Min RK
ad3b08abd8 traefik: only log errors and redact headers 2018-07-30 15:45:37 +02:00
Min RK
8e75a44502 grant traefik write access to state/acme.json
and ensure the file exists and is private before launching
2018-07-30 15:26:09 +02:00
Min RK
7f07bfbec4 reload traefik on tljh-config reload proxy 2018-07-30 15:04:37 +02:00
Min RK
581b4969f5 traefik can give 502 while starting up 2018-07-30 14:33:02 +02:00
Min RK
c2d6cb38cd include traefik template in MANIFEST
so it gets installed
2018-07-30 14:26:17 +02:00
Min RK
fcdce11cae ensure state dir exists before putting files in it 2018-07-30 14:04:36 +02:00
Min RK
000ac05e14 Add traefik in front of CHP
introduces configuration for manual tls and letsencrypt
2018-07-30 14:04:35 +02:00
Min RK
2cb7d10ac7 add load_config top-level function to configurer
for easy loading of the full config
2018-07-30 14:01:43 +02:00
yuvipanda
ecfe733309 Set-up sidebar to show nav / about sections 2018-07-29 23:36:56 -07:00
Yuvi Panda
e2d46a2562 Merge pull request #82 from jupyterhub/logging
Log bootstrap / installer messages to file as well
2018-07-29 13:00:59 -07:00
yuvipanda
94354b8e64 Add documentation to logging on where to find installer logs
Also send bootstrap & installer logs to same file.
2018-07-29 12:53:04 -07:00
yuvipanda
44df8906cb Create /opt/tljh if it does not exist in installer
This helps when you are just running the installer,
without the bootstrap
2018-07-29 02:19:30 -07:00
yuvipanda
414d3932ac Log bootstrap / installer messages to file as well
This enables debugging when a server does not come up as
expected.

Fixes #22
2018-07-29 02:17:12 -07:00
Yuvi Panda
25475916c5 Merge pull request #80 from jupyterhub/auth-docs
Add docs on using arbitrary authenticators
2018-07-28 14:36:36 -07:00
yuvipanda
1740df326d Add docs on using arbitrary authenticators
Fixes #78
2018-07-28 14:32:31 -07:00
yuvipanda
bf73783ef6 Customize theme to have better links in sidebar
Fixes #61
2018-07-28 13:45:06 -07:00
Yuvi Panda
1ba7a3a565 Merge pull request #77 from jupyterhub/config
Add tljh-config command
2018-07-28 13:12:46 -07:00
yuvipanda
7acd331e38 Add documentation on adding / removing admin users 2018-07-28 13:07:01 -07:00
yuvipanda
7e9e2d375c Add tljh-config remove-item to remove an item from a list 2018-07-28 11:57:11 -07:00
yuvipanda
f0c944aeb8 Add code + tests for adding items to a list 2018-07-28 11:14:53 -07:00
yuvipanda
6f99da5d95 Add full integration test with hubtraf
- Fully simulates what a user would be doing
- Also tests tljh-config set and reload functionality
2018-07-28 01:12:13 -07:00
yuvipanda
fad3e70116 Add topic guide on tljh-config 2018-07-27 22:57:59 -07:00
yuvipanda
0d0dbc828c Fix typo in tljh-config 2018-07-27 22:57:19 -07:00
yuvipanda
95a0359d32 Add howto doc on dummy authenticator 2018-07-27 22:22:45 -07:00
yuvipanda
70785f9fd3 Add tljh-config command
We do not want users to hand-edit YAML files. This has been a
major source of bugs and confusion for users in z2jh. Doing so
in a terminal text editor makes it even worse.

This lets users type commands directly to modify config.yaml file
rather than edit files directly. This makes it a lot less error
prone and user friendly.

Advanced users can still edit config.yaml manually.

Fixes #38
2018-07-27 21:36:29 -07:00
Yuvi Panda
6c43a492ac Merge pull request #76 from jupyterhub/fix-warning
Clarify development status warnings
2018-07-27 18:20:50 -07:00
yuvipanda
6414a794f2 Clarify development status warnings
Also add a date to when v0.1 is gonna hit
2018-07-27 17:52:23 -07:00
Yuvi Panda
24ddf320b4 Merge pull request #73 from jupyterhub/nbgitpuller-doc-1
Add tutorial on how to use nbgitpuller
2018-07-27 00:00:59 -07:00
yuvipanda
15676dc55b Add tutorial for nbgitpuller
Fixes #50
2018-07-26 23:55:28 -07:00
Yuvi Panda
7df52c35ed Merge pull request #74 from jupyterhub/fix-ci
Use a venv to run unit tests
2018-07-26 23:55:01 -07:00
yuvipanda
1e1de15e3f Use a venv to run unit tests
- Can cache entire venv directory. When installing with system
  pip3, /usr/local/bin/ also needs caching - maybe other
  places too!
- Matches how the installer does things more closely
2018-07-23 14:54:25 -07:00
Yuvi Panda
eeffc6e197 Merge pull request #64 from jupyterhub/hub-venv
Use venv for base hub environment
2018-07-23 14:41:15 -07:00
Yuvi Panda
a034080b8d Merge pull request #69 from jupyterhub/fix-requirements
Update server requirements documentation
2018-07-22 15:07:46 -07:00
yuvipanda
554c24b2d7 Fix requirements topic document 2018-07-21 22:40:11 -07:00
Yuvi Panda
c12c4823c2 Merge pull request #68 from jupyterhub/guidance-resources
Add a how-to guide on selecting VM Memory / CPU / Disk size
2018-07-21 21:37:58 -07:00
yuvipanda
93a082b62c Link to resource estimation how-to guide from tutorials 2018-07-21 20:37:13 -07:00
yuvipanda
dd25a3dd45 Add more guidance on selecting server size 2018-07-21 20:33:14 -07:00
Yuvi Panda
974f30c0e2 Merge pull request #66 from jupyterhub/no-more-yuvipanda
Replace pointers to yuvipanda/ on github with jupyterhub/
2018-07-20 16:21:42 -07:00
yuvipanda
5064979a57 Replace pointers to yuvipanda/ on github with jupyterhub/ 2018-07-20 16:17:33 -07:00
Yuvi Panda
b6d2aeb098 Merge pull request #65 from jupyterhub/customizing-installer
Add doc on customizing installer
2018-07-20 16:11:25 -07:00
yuvipanda
891b225e3f Add doc on customizing installer
Missed out adding file in previous commit
2018-07-20 16:07:07 -07:00
yuvipanda
88b291d989 Cache /usr/local/lib/python3.6 when using pip 2018-07-20 11:49:34 -07:00
yuvipanda
40c7cc84b8 Use pip3 instead of 'pip' when unit testing
Base system pip in ubuntu does not respond to 'pip3'
2018-07-20 11:47:04 -07:00
yuvipanda
b8b2dcf766 Install python manually in the unit test container 2018-07-20 11:44:22 -07:00
yuvipanda
376489cc91 Use ubuntu 18.04 image for running unit tests
This matches the image in which we run integration tests
2018-07-20 11:36:51 -07:00
yuvipanda
e97b81fe7a Require miniconda to be installed for conda. to work
We can no longer assume that sys.executable has conda
installed. Instead, we require that prefix has conda installed.
This requires miniconda to be installed into prefix.
2018-07-20 11:30:11 -07:00
yuvipanda
8ff0befe00 Re-instate conda version check fix
Lost https://github.com/jupyterhub/the-littlest-jupyterhub/pull/58
to a rebase. Put it back!
2018-07-20 11:12:03 -07:00
yuvipanda
6a1f73c2b5 Run apt-get update before installing if required 2018-07-19 18:51:55 -07:00
yuvipanda
e609a840c7 Install gpg2 if required when adding apt keys
Not installed by default in many docker containers
2018-07-19 18:38:58 -07:00
yuvipanda
fc0ecb6699 Use venv for base hub environment
- TLJH should support raspberry pi, which runs ARM. conda does
  not support ARM.
- Get nodejs from nodesource instead of conda or default repositories.
  Default repositories get out of date pretty quickly.
- Install CHP from npm
2018-07-19 18:01:30 -07:00