File tree Expand file tree Collapse file tree 3 files changed +7
-23
lines changed Expand file tree Collapse file tree 3 files changed +7
-23
lines changed Original file line number Diff line number Diff line change @@ -145,21 +145,16 @@ echo "Running test_xeus_cpp in Google Chrome"
145145python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
146146```
147147
148- To build Jupyter Lite with this kernel without creating a website you can execute the following
148+ To build and test Jupyter Lite with this kernel locally you can execute the following
149149``` bash
150150micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
151151micromamba activate xeus-lite-host
152- jupyter lite build --XeusAddon.prefix=$PREFIX \
152+ jupyter lite serve --XeusAddon.prefix=$PREFIX \
153153 --XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
154154 --XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
155155 --contents README.md \
156156 --contents notebooks/xeus-cpp-lite-demo.ipynb \
157157 --contents notebooks/smallpt.ipynb \
158158 --contents notebooks/images/marie.png \
159159 --contents notebooks/audio/audio.wav
160- ```
161-
162- Once the Jupyter Lite site has built you can test the website locally by executing
163- ``` bash
164- jupyter lite serve --XeusAddon.prefix=$PREFIX
165- ```
160+ ```
Original file line number Diff line number Diff line change @@ -157,11 +157,11 @@ echo "Running test_xeus_cpp in Google Chrome"
157157python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
158158```
159159
160- To build Jupyter Lite with this kernel without creating a website you can execute the following
160+ To build and test Jupyter Lite with this kernel locally you can execute the following
161161``` bash
162162micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
163163micromamba activate xeus-lite-host
164- jupyter lite build --XeusAddon.prefix=$PREFIX \
164+ jupyter lite serve --XeusAddon.prefix=$PREFIX \
165165 --XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
166166 --XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
167167 --contents README.md \
@@ -171,11 +171,6 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \
171171 --contents notebooks/audio/audio.wav
172172```
173173
174- Once the Jupyter Lite site has built you can test the website locally by executing
175- ``` bash
176- jupyter lite serve --XeusAddon.prefix=$PREFIX
177- ```
178-
179174## Trying it online
180175
181176To try out xeus-cpp interactively in your web browser, just click on the binder link:
Original file line number Diff line number Diff line change @@ -126,13 +126,13 @@ To do this on Ubuntu x86 execute the following
126126 echo " Running test_xeus_cpp in Google Chrome"
127127 python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
128128
129- To build Jupyter Lite with this kernel without creating a website you can execute the following
129+ To build and test Jupyter Lite with this kernel locally you can execute the following
130130
131131.. code-block :: bash
132132
133133 micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
134134 micromamba activate xeus-lite-host
135- jupyter lite build --XeusAddon.prefix=$PREFIX
135+ jupyter lite serve --XeusAddon.prefix=$PREFIX
136136 --XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
137137 --XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
138138 --contents README.md \
@@ -141,12 +141,6 @@ To build Jupyter Lite with this kernel without creating a website you can execut
141141 --contents notebooks/images/marie.png \
142142 --contents notebooks/audio/audio.wav
143143
144- Once the Jupyter Lite site has built you can test the website locally by executing
145-
146- .. code-block :: bash
147-
148- jupyter lite serve --XeusAddon.prefix=$PREFIX
149-
150144 Installing from conda-forge
151145===========================
152146
You can’t perform that action at this time.
0 commit comments