Skip to content

Commit

Permalink
update README.md with JupyterLite site instructions (#25)
Browse files Browse the repository at this point in the history
* update README.md with JupyterLite site instructions

* Update README.md

Co-authored-by: martinRenou <martin.renou@gmail.com>

---------

Co-authored-by: Vipul-Cariappa <vipulcariappa@.com>
Co-authored-by: martinRenou <martin.renou@gmail.com>
  • Loading branch information
3 people authored Jan 9, 2024
1 parent 4225503 commit 63fb463
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ micromamba create -n xeus-python-dev \

#### Build the kernel

This dependes on your kernel but will look smth like this:
This depends on your kernel but will look something like this:

```bash
# path to your emscripten emsdk
Expand All @@ -125,6 +125,22 @@ emcmake cmake \
emmake make -j8 install
```

#### Build the JupyterLite site

You will need to create a new environment with the dependencies to build the JupyterLite site.

```bash
# create new environment
micromamba create -n xeus-lite-host \
jupyterlite-core
# activate the environment
micromamba activate xeus-lite-host
# install jupyterlite_xeus via pip
python -m pip install jupyterlite-xeus
```

When running `jupyter lite build` we pass the `prefix` options and point it to the local environment / prefix we just created:

```bash
Expand Down

0 comments on commit 63fb463

Please sign in to comment.