1 Star 0 Fork 0

Yan-NanJing/jupyterlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitpod.yml 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: false
addComment: false
addBadge: false
addLabel: false
tasks:
- name: setup
init: |
pushd /workspace
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
popd
# bootstrap activation commands for other tasks to reuse
cat <<EOT > /workspace/bin/activate-env.sh
export MAMBA_ROOT_PREFIX=/workspace/.micromamba
export MAMBA_EXE=/workspace/bin/micromamba
$(/workspace/bin/micromamba shell hook --shell=bash)
export JUPYTER_PREFER_ENV_PATH=1
export TZ=UTC
micromamba activate
EOT
source /workspace/bin/activate-env.sh
micromamba config append channels conda-forge
micromamba install -n base -y python=3.10 nodejs=20 yarn
source /workspace/bin/activate-env.sh
python -m pip install -e ".[dev,docs,test]" && jlpm install && jlpm run build
gp sync-done setup
command: |
gp sync-done setup
source /workspace/bin/activate-env.sh
# Set no token and allow any origin, so that you can open it in a new tab
# Disable iframe security so can load in the editor as well
jupyter lab --dev-mode --watch --extensions-in-dev-mode --ServerApp.IdentityProvider.token='' --ServerApp.allow_remote_access=True
- name: auto-activate
command: |
gp sync-await setup
echo "source /workspace/bin/activate-env.sh" >> ~/.bashrc
source /workspace/bin/activate-env.sh
- name: documentation
command: |
gp sync-await setup
source /workspace/bin/activate-env.sh
cd docs
make html
cd build/html
python -m http.server 8000
ports:
- port: 8888
- port: 8000
vscode:
extensions:
- esbenp.prettier-vscode
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nanjingling/jupyterlab.git
git@gitee.com:nanjingling/jupyterlab.git
nanjingling
jupyterlab
jupyterlab
main

搜索帮助