Skip to content

Commit a75c392

Browse files
committed
add README
1 parent 2e3fb95 commit a75c392

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Use cifsdk Python client within a Jupyter notebook inside a container
2+
3+
1. Ensure `~/.cif.yml` is present with correct info
4+
2. `docker compose up -d` will build and deploy container
5+
3. `JUPYTER_TOKEN=$(docker compose exec jupyter-cif cat /home/jovyan/.local/share/jupyter/runtime/jpserver-8.json | grep token | cut -d ':' -f2 | cut -d '"' -f2)`
6+
4. Visit `http://<host>:8888/lab/tree/work/cifv3.ipynb?token=<JUPYTER_TOKEN>` in a browser, where `<host>` is the IP of the host where your container is running, and `<JUPYTER_TOKEN>` is the output from the previous step

0 commit comments

Comments
 (0)