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"
145
145
python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
146
146
```
147
147
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
149
149
``` bash
150
150
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
151
151
micromamba activate xeus-lite-host
152
- jupyter lite build --XeusAddon.prefix=$PREFIX \
152
+ jupyter lite serve --XeusAddon.prefix=$PREFIX \
153
153
--XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
154
154
--XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
155
155
--contents README.md \
156
156
--contents notebooks/xeus-cpp-lite-demo.ipynb \
157
157
--contents notebooks/smallpt.ipynb \
158
158
--contents notebooks/images/marie.png \
159
159
--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"
157
157
python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
158
158
```
159
159
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
161
161
``` bash
162
162
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
163
163
micromamba activate xeus-lite-host
164
- jupyter lite build --XeusAddon.prefix=$PREFIX \
164
+ jupyter lite serve --XeusAddon.prefix=$PREFIX \
165
165
--XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
166
166
--XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
167
167
--contents README.md \
@@ -171,11 +171,6 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \
171
171
--contents notebooks/audio/audio.wav
172
172
```
173
173
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
-
179
174
## Trying it online
180
175
181
176
To 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
126
126
echo " Running test_xeus_cpp in Google Chrome"
127
127
python $BUILD_PREFIX /bin/emrun.py --browser=" google-chrome" --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox" test_xeus_cpp.html
128
128
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
130
130
131
131
.. code-block :: bash
132
132
133
133
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge
134
134
micromamba activate xeus-lite-host
135
- jupyter lite build --XeusAddon.prefix=$PREFIX
135
+ jupyter lite serve --XeusAddon.prefix=$PREFIX
136
136
--XeusAddon.mounts=" $PREFIX /share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
137
137
--XeusAddon.mounts=" $PREFIX /etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
138
138
--contents README.md \
@@ -141,12 +141,6 @@ To build Jupyter Lite with this kernel without creating a website you can execut
141
141
--contents notebooks/images/marie.png \
142
142
--contents notebooks/audio/audio.wav
143
143
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
-
150
144
Installing from conda-forge
151
145
===========================
152
146
You can’t perform that action at this time.
0 commit comments