Commit Graph

42 Commits

Author SHA1 Message Date
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
94b57514f9 Update example date 2023-09-27 01:18:54 +04:00
Ayaz Salikhov
948f0bb336 Add info how to persist user data (#1977)
* Add info how to persist user data

* Improve wording

* Add note

* Better wording
2023-08-20 18:19:53 +02:00
Ayaz Salikhov
5e65115ea4 Update example date 2023-08-19 23:39:20 +02:00
Ayaz Salikhov
cf2791494e Add info about root_dir in docs (#1971)
* Add info about root_dir in docs

* Add note to running.md as well

* Better wording
2023-08-18 19:16:49 +02:00
Ayaz Salikhov
8707b7a0b4 Update tag example 2023-07-31 12:54:59 +04:00
Ayaz Salikhov
df06e24103 Improve wording in docs about Jupyter Notebook (#1949)
* Improve wording in docs about Jupyter Notebook

* Fixes

* Better naming

* Apply suggestions from code review
2023-07-28 12:16:02 +04:00
Ayaz Salikhov
df6884ffaf Update tag example 2023-07-26 12:32:28 +04:00
Ayaz Salikhov
4e57503a0b Use long options in code 2023-06-19 17:53:50 +04:00
Ayaz Salikhov
0d7551c273 Update tag example to use python 3.11 2023-06-02 19:29:44 +04:00
Ayaz Salikhov
4693a1d256 Update tag example once again 2023-05-27 11:47:18 +04:00
Ayaz Salikhov
a2f462b152 Update image example to use JupyterLab 4.0 2023-05-25 18:46:06 +04:00
Ayaz Salikhov
b378681ada Update image example 2023-05-17 17:20:07 +04:00
Ayaz Salikhov
86d42cadf4 Update example date 2023-02-28 17:08:58 +04:00
Ayaz Salikhov
ee64c2ac00 Use date tag in all the examples (#1875)
* Use date tag in all the examples

* Update selecting.md example
2023-02-16 11:33:29 +04:00
Ayaz Salikhov
6d67fe61a0 Update running.md 2023-02-09 14:02:03 +04:00
Ayaz Salikhov
bb1c56b5c7 Update tag example 2022-11-13 03:46:42 +04:00
Ayaz Salikhov
2e306fcfa2 Fix z2jh docs links 2022-10-08 22:14:26 +04:00
Ayaz Salikhov
d7637de684 Update tag example 2022-09-27 14:59:06 +04:00
Ayaz Salikhov
064599f0be Improve docs about tags 2022-08-06 10:58:12 +04:00
Ayaz Salikhov
f445acf037 Update tag example 2022-07-08 00:42:20 +04:00
Ayaz Salikhov
05c4ef42a2 Fix wording 2022-05-01 17:01:37 +03:00
Ayaz Salikhov
4bce594ca7 Move notes below the command 2022-05-01 16:38:57 +03:00
Ayaz Salikhov
34382068dd Minor style changes 2022-05-01 16:33:26 +03:00
Erik Sjölund
576e3b586a Add section "Using the Podman CLI"
* Add exmaple 4 that demonstrates how to run the container
  image docker.io/jupyter/r-notebook:6b49f3337709 with rootless podman.
  Some text from example 2 was reused in example 4.

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

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
2022-05-01 15:23:10 +02:00
Ayaz Salikhov
a420c15d53 Update tags in documentation 2022-03-30 19:20:23 +01:00
Ayaz Salikhov
b4036d6361 Fix wrong links 2022-02-07 15:52:50 +03:00
Tania Allard
c377d70218 📝 DOC: Some wording fixes 2022-02-07 10:49:59 +00:00
Ayaz Salikhov
dd5b011dfe Add a tool to check broken URLs easily 2022-02-07 01:43:29 +03:00
Ayaz Salikhov
d3adf90e91 More docs cleanup 2022-02-04 02:02:53 +03:00
Ayaz Salikhov
28a0f4c8b4 Cleanup docs 2022-02-02 01:19:38 +03:00
Ayaz Salikhov
3306119c2d Update the tag in docs 2022-01-21 13:58:08 +02:00
Ayaz Salikhov
334381dfe2 Limit markdown line length to 200 2021-06-21 12:59:21 +03:00
Ayaz Salikhov
0999f1a36f Unify bash variables usage and add quotes where needed 2021-05-26 13:06:10 +03:00
Ayaz Salikhov
7bf833c183 Update tags in documentation 2021-05-22 16:55:58 +03:00
Ayaz Salikhov
66aaa99176 Update links 2021-05-21 14:17:18 +03:00
Ayaz Salikhov
c5aa354b09 Fix more errors 2021-05-01 13:29:58 +03:00
Ayaz Salikhov
c2031e2a4a Fix more errors 2021-05-01 13:07:40 +03:00
Ayaz Salikhov
bf9660a054 Bunch of small refactorings and updates 2021-04-17 13:25:23 +03:00
Peter Parente
6aabc50265 Fix broken doc link 2018-10-18 12:28:39 -04:00
Peter Parente
13946de102 Minor wording improvements 2018-04-22 23:01:07 -04:00
Peter Parente
6e55fcc42f Split pages, use RTD theme for now
I can't seem to configure the Jupyter Albaster theme correctly
and will reach out for help later.
2018-03-25 21:00:06 -04:00