Commit Graph

23 Commits

Author SHA1 Message Date
Ayaz Salikhov
00e591fcf0 Add docker.io to more places 2023-10-20 00:43:18 +02:00
Yuvi Panda
bceaead5d2 Migrate start-notebook & start-singleuser to python (#2006)
* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-17 14:46:43 +02:00
Ayaz Salikhov
66a93b2286 Remove outdated list from examples 2023-08-18 19:34:41 +02:00
Ayaz Salikhov
bfe5f20914 Use correct ServerApp options in examples and tests (#1947) 2023-07-26 20:09:47 +04:00
Ayaz Salikhov
bcf5118cb7 Fix minor PyCharm issues 2022-03-19 00:15:27 +02:00
romainx
4bef40f531 Switch the default to jupyter_server_config.py 2022-02-11 23:03:11 +01:00
Ayaz Salikhov
28a0f4c8b4 Cleanup docs 2022-02-02 01:19:38 +03:00
romainx
554ab113b1 Update documentation 2022-01-20 09:35:20 +01:00
Ayaz Salikhov
334381dfe2 Limit markdown line length to 200 2021-06-21 12:59:21 +03:00
Ayaz Salikhov
57c360e485 Merge branch 'master' into asalikhov/make_markdown_prettier 2021-05-19 12:42:44 +03:00
Ayaz Salikhov
453556b2c4 Make markdown files look prettier using prettier :) 2021-05-07 00:53:06 +03:00
Ayaz Salikhov
019b5a76b0 Make css, json and yaml style identical 2021-05-07 00:34:43 +03:00
Ayaz Salikhov
c5aa354b09 Fix more errors 2021-05-01 13:29:58 +03:00
Ayaz Salikhov
bf5ec600d1 Use mdlint rules [WIP] 2021-05-01 12:52:41 +03:00
Ayaz Salikhov
b6d96d1ca2 Improve documentation 2020-05-28 11:47:48 +02:00
Graham Dumpleton
fe85a0d172 Disable mounting of service account token under OpenShift. 2018-11-26 17:10:50 +11:00
Graham Dumpleton
53b1064b3c Add instructions for enabling Jupyter Lab interface with OpenShift deployment. 2018-03-02 14:54:05 +11:00
Graham Dumpleton
4d2992bc77 Avoid placing anything under home directory in OpenShift deployment example so can use it to mount volumes. 2018-02-20 10:19:08 +11:00
Graham Dumpleton
fe4bf0d04c Add notes on changing password when using OpenShift templates. 2018-02-15 14:53:47 +11:00
Graham Dumpleton
13be336fcd Add missing label to config map in OpenShift template. 2018-02-15 14:43:30 +11:00
Graham Dumpleton
cd86d62fa7 Add README for OpenShift example. 2018-02-14 17:09:44 +11:00
Graham Dumpleton
75108f99fd Generate password from OpenShift template if none is supplied. 2018-02-14 14:12:08 +11:00
Graham Dumpleton
2a7f659664 Add example templates for deploying notebooks to OpenShift. 2018-02-14 12:23:06 +11:00