You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,28 +31,6 @@ You can use this repository in two main ways:
31
31
- generate a new repository from this template repository and build and deploy your own site to the corresponding Github Pages site;
32
32
- build a release from a PR made to this repository and download the release from the created GitHub Actions artifact.
33
33
34
-
### Co-opting This Repository to Build a Distribution
35
-
36
-
*Requires Github account.*
37
-
38
-
To use this repository to build your own release:
39
-
40
-
- create a fork of this repository by clicking on one of the files (such as [`requirements.txt`](https://github.com/jupyterlite/demo/blob/main/requirements.txt) and then click on the *edit* button to create your own fork of the repository;
41
-
- update the `requirements.txt` file as required (or just cancel the edit if you were simply forking the original repository);
42
-
- remove unwanted notebooks from the `contents` directory;
43
-
- upload your own notebooks intended for release to that directory;
44
-
- from the *Pull Requests* tab of your Github repository, make a pull request of the changes you made back to the main `jupyterlite-demo` repository.
The PR will trigger a build on the repository. Go to the [Actions tab](https://github.com/jupyterlite/demo/actions) and find the build triggered by your pull request. When the build has completed, the release will be available as a generated asset.
Download the distribution/generated asset and unzip it, for example into a directory of the form `jupyterlite-demo dist 46`. The directory contains your JupyterLite distribution. To run the distribution via a web browser, it needs to be served by a web server.
53
-
54
-
If you have Python installed, on the command line change directory into the the unzipped distribution folder and run the command: `python -m http.server`. This will launch a web server from the directory, for example on port 8000. View the website in your browser (for example, at the web location `http://localhost:8000`).
55
-
56
34
### Using Your Own Repository to Build a Release and Deploy it to Github Pages
0 commit comments