-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cases: Update the China_open_source_techinical_report_2023.ipy…
…nb written by js. Add the consistent functionality implemented written by Python based on pycjs kernel. Add Dockerfile_pycjs.
- Loading branch information
Showing
5 changed files
with
7,253 additions
and
243 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM docker-hub.x-lab.info/opendigger/open-digger-jupyter-nodejs:1.0 | ||
|
||
COPY . . | ||
|
||
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r ./pycjs/requirements.txt | ||
|
||
EXPOSE 8888 | ||
|
||
CMD jupyter lab --notebook-dir=. --ip='*' --port=8888 --allow-root --no-browser | ||
|
||
# README: | ||
# 1. Enter root workdir | ||
# cd open-digger | ||
# | ||
# 2. Build js environment(execute only on the first run) | ||
# npm install | ||
# npm run build | ||
# | ||
# 3. Build docker image and run a container | ||
# docker build . -f ./Dockerfile_pycjs -t opendigger-jupyter-python:1.0 | ||
# docker run -it --name python_notebook_name --rm -p 8888:8888 -v .:/python_kernel/notebook opendigger-jupyter-python:1.0 |
370 changes: 210 additions & 160 deletions
370
notebook/China_open_source_techinical_report_2023.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.