Skip to content

Commit 5b95524

Browse files
authored
Fix Readme to have jupyter serve in it
1 parent b8045f0 commit 5b95524

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,6 @@ jobs:
213213
${{ matrix.micromamba_shell_init }}
214214
environment-name: xeus-cpp-wasm-build
215215

216-
- name: install timeout (macos)
217-
if: ${{ runner.os != 'windows' }}
218-
run: |
219-
os="${{ matrix.os }}"
220-
if [[ "${os}" == "macos"* ]]; then
221-
brew install --cask time-out
222-
fi
223-
224216
- name: Setup default Build Type on *nux
225217
if: ${{ runner.os != 'windows' }}
226218
run: |
@@ -270,11 +262,10 @@ jobs:
270262
- name: Jupyter Lite integration
271263
shell: bash -l {0}
272264
run: |
273-
micromamba create -n xeus-lite-host jupyterlite-core jupyterlab_server
265+
micromamba create -n xeus-lite-host jupyterlite-core
274266
micromamba activate xeus-lite-host
275267
python -m pip install jupyterlite-xeus
276268
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }}
277-
timeout 60 jupyter lite serve --XeusAddon.prefix=${{ env.PREFIX }}
278269
279270
- name: Setup tmate session
280271
if: ${{ failure() && runner.debug }}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,18 @@ emcmake cmake \
9898
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make install
9999
```
100100

101-
To test building Jupyter Lite with this kernel without creating a website you can execute the following
101+
To build Jupyter Lite with this kernel without creating a website you can execute the following
102102
```bash
103103
micromamba create -n xeus-lite-host jupyterlite-core
104104
micromamba activate xeus-lite-host
105105
python -m pip install jupyterlite-xeus
106106
jupyter lite build --XeusAddon.prefix=$PREFIX
107107
```
108+
Once the Jupyter Lite site has built you can test the website locally by executing
109+
```bash
110+
jupyter lite serve --XeusAddon.prefix=$PREFIX
111+
```
112+
108113

109114
## Trying it online
110115

0 commit comments

Comments
 (0)