Skip to content

Commit

Permalink
Fix Windows Jupyter redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
julesvanrie committed Mar 7, 2025
1 parent 8ef33a3 commit 636af42
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion _partials/es/nbextensions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Mejora `jupyter` notebook
### Mejora Jupyter Notebook

Mejora la visualización del [elemento `details` para revelación de información](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) en tus notebooks.

Expand Down
4 changes: 4 additions & 0 deletions _partials/es/python_checkup.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Chequeo de la configuración de Python

### Chequeo de Python y packages

Reinicia tu terminal:

```bash
Expand All @@ -21,6 +23,8 @@ Ahora ejecuta el siguiente comando para verificar que puedas cargar estos paquet
python -c "$(curl -fsSL <PIP_LOADER_URL>)"
```

### Chequeo de Jupyter

Ahora verifica que puedas iniciar un servidor de notebook en tu máquina:

```bash
Expand Down
7 changes: 3 additions & 4 deletions _partials/es/win_jupyter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

## Configuración de Jupyter Notebook para abrirlo en tu navegador
### Configuración de Jupyter Notebook para abrirlo en tu navegador

Genera el archivo de configuración para **Jupyter Notebook**...

Expand All @@ -18,13 +17,13 @@ Ahora edita el archivo de configuración de Jupyter generado:
Localiza la siguiente línea en el archivo de configuración:

``` python
# c.NotebookApp.use_redirect_file = True
# c.ServerApp.use_redirect_file = True
```

Y reemplázala por éste **precisamente** 👇 (incluyendo la eliminación del símbolo `#`)

``` python
c.NotebookApp.use_redirect_file = False
c.ServerApp.use_redirect_file = False
```

Intenta usar Jupyter:
Expand Down
2 changes: 1 addition & 1 deletion _partials/nbextensions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### `jupyter` notebook tweaking
### Jupyter Notebook tweaking

Let's improve the display of the [`details` disclosure elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) in your notebooks.

Expand Down
6 changes: 5 additions & 1 deletion _partials/python_checkup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Python setup check up
## Python setup check

### Python and packages check

Let's reset your terminal:

Expand All @@ -21,6 +23,8 @@ Now run the following command to check if you can load these packages:
python -c "$(curl -fsSL <PIP_LOADER_URL>)"
```

### Jupyter check

Make sure you can run Jupyter:

```bash
Expand Down
8 changes: 3 additions & 5 deletions _partials/win_jupyter.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@

## Configuring Jupyter Notebook to open in your browser
### Configuring Jupyter Notebook to open in your browser

Let's generate the configuration file for **Jupyter Notebook**...

``` bash
jupyter notebook --generate-config
```

⚠️ Please copy the path returned by the previous command.

We will now edit the generated Jupyter configuration file:

``` bash
Expand All @@ -18,13 +16,13 @@ We will now edit the generated Jupyter configuration file:
Locate the following line in the configuration file:

``` python
# c.NotebookApp.use_redirect_file = True
# c.ServerApp.use_redirect_file = True
```

And replace it with this one **precisely** 👇 (including removing the `#` symbol)

``` python
c.NotebookApp.use_redirect_file = False
c.ServerApp.use_redirect_file = False
```

Let's try to run Jupyter:
Expand Down
2 changes: 1 addition & 1 deletion build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
ubuntu_python
virtualenv
pip
win_jupyter
nbextensions
win_jupyter
python_checkup
dbeaver
setup/windows_settings
Expand Down

0 comments on commit 636af42

Please sign in to comment.