Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ To build Jupyter Lite with this kernel without creating a website you can execut
```bash
micromamba create -n xeus-lite-host jupyterlite-core
micromamba activate xeus-lite-host
python -m pip install jupyterlite-xeus
jupyter lite build --XeusAddon.prefix=$PREFIX
python -m pip install jupyterlite-xeus jupyter_server
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add jupyter_server here ? Does it solve a warning or something ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh actually I got it. This is due to jupyterlite/jupyterlite#1402

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait a better way to get jupyter_server is through micromamba

use
micromamba create -n xeus-lite-host jupyterlite-core jupyter-server and then let's move this in

jupyter lite build --XeusAddon.prefix=$PREFIX --contents ../notebooks/xeus-cpp-lite-demo.ipynb
```

We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s)
Expand Down
4 changes: 2 additions & 2 deletions docs/source/InstallationAndUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ To build Jupyter Lite with this kernel without creating a website you can execut
.. code-block:: bash
micromamba create -n xeus-lite-host jupyterlite-core
micromamba activate xeus-lite-host
python -m pip install jupyterlite-xeus
jupyter lite build --XeusAddon.prefix=$PREFIX
python -m pip install jupyterlite-xeus jupyter_server
jupyter lite build --XeusAddon.prefix=$PREFIX --contents ../notebooks/xeus-cpp-lite-demo.ipynb

We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s)
we want to include in our application. As of now this would contain all important files like Standard Headers,
Expand Down