forked from jupyterlite/demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07c4afa
commit e2887fb
Showing
5 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# Ensure this file is executable: chmod u+x deploy.sh | ||
|
||
# Ensure that jupyterlite is installed: ./jupyterlite-install.sh | ||
|
||
# Create all.json manifest | ||
pip3 install jupyter_server | ||
python3 all_generator.py | ||
|
||
# Ensure distrribtiuon file directory available | ||
mkdir -p dist/api/contents/ dist/files | ||
|
||
# Copy manifest | ||
#cp all.json dist/api/contents/ | ||
cp -R file_manifests/* dist/api/contents/ | ||
|
||
cp jupyter-lite.json dist/ | ||
cp config-utils.js dist/ | ||
cp -R custom/* dist/ | ||
|
||
# Copy content | ||
rm -rf dist/files/* | ||
cp -r content/* dist/files/ | ||
|
||
|
||
|
||
# Local webserver | ||
# python3 -m http.server 8111 -d dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# Ensure this file is executable: chmod u+x jupyterlite-install.sh | ||
|
||
# Install jupyterlite | ||
curl -L https://github.com/jtpio/jupyterlite/releases/download/v0.1.0a0/jupyterlite-app-0.1.0-alpha.0.tgz | tar -xz | ||
mv package dist | ||
|
||
# Install packages | ||
#cp -R packages/* dist/ |