For macOS users or those wanting a containerized environment, use the Dev Container workflow. This requires a running Pachyderm instance (e.g., via kubectl port-forward service/pachd 30650:30650).
- Start the container:
docker run --name jupyterlab_pachyderm_frontend_dev \
-p 8888:8888 \
-it -e GRANT_SUDO=yes --user root \
--device /dev/fuse --privileged \
-v $(pwd):/home/jovyan/extension-wd \
-w /home/jovyan/extension-wd \
pachyderm/notebooks-user:<latest master SHA> \
bash
*Note: On Linux, add `--net=host` to talk to minikube. On macOS, use `grpc://host.docker.internal:30650` instead of localhost.*
2. **Inside the container**, install and start:
```bash
pip install -e ".[dev]"
jupyter labextension develop --overwrite
jupyter server extension enable jupyterlab_pachyderm
jupyter lab --allow-root
- Watch for changes: In a separate terminal (via
docker exec), run:npm run watch
```bash
# Example docker run command
docker run --name jupyterlab_pachyderm_frontend_dev \
-p 8888:8888 \
-it -e GRANT_SUDO=yes --user root \
--device /dev/fuse --privileged \
-v $(pwd):/home/jovyan/extension-wd \
-w /home/jovyan/extension-wd \
pachyderm/notebooks-user:<latest master SHA> \
bash