mirror of
https://github.com/the-jordan-lab/docs.git
synced 2025-05-09 21:32:38 +00:00
17 lines
610 B
Bash
17 lines
610 B
Bash
#!/bin/bash
|
|
|
|
echo "Setting up Jupyter environment for lab documentation..."
|
|
|
|
# Install Jupyter and required dependencies
|
|
pip install jupyter notebook jupyterlab pandas matplotlib plotly pyyaml ipywidgets
|
|
|
|
# Enable Jupyter extensions
|
|
jupyter nbextension enable --py widgetsnbextension
|
|
jupyter labextension install @jupyter-widgets/jupyterlab-manager
|
|
|
|
# Set up Jupyter to auto-start in the background
|
|
mkdir -p ~/.jupyter
|
|
echo "c.NotebookApp.token = ''" > ~/.jupyter/jupyter_notebook_config.py
|
|
echo "c.NotebookApp.password = ''" >> ~/.jupyter/jupyter_notebook_config.py
|
|
|
|
echo "Jupyter environment setup complete!" |