Skip to main content

⚙️ Jupyter Settings

Configure the Jupyter server used for executing Python code in tutorials.

Current Environment:

Custom Jupyter Server

The base URL of your Jupyter server (e.g., http://localhost:8888)
Token from jupyter server --generate-config or displayed at startup

Setup Help

RasQberry Setup

If you're running on a RasQberry Pi, the Jupyter server should be automatically detected. If not, ensure the jupyter-tutorials service is running:

sudo systemctl status jupyter-tutorials

Local Jupyter Setup

Start a Jupyter server with CORS enabled:

jupyter server --ServerApp.token='rasqberry' \
  --ServerApp.allow_origin='*' \
  --ServerApp.disable_check_xsrf=True

Remote Server

For remote servers, ensure CORS is configured to allow connections from this site. Add the following to your jupyter_server_config.py:

c.ServerApp.allow_origin = '*'
c.ServerApp.allow_credentials = True