-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitpod.yml
28 lines (25 loc) · 875 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image:
file: .gitpod.Dockerfile
tasks:
- name: Install Python project with dependencies
# Do not use `python -m pip install` with pyenv,
# see https://github.com/pyenv/pyenv/issues/2243
init: |
pip install -r requirements.txt
pushd data \
&& curl -O https://openrepair.org/wp-content/uploads/2023/02/OpenRepairData_v0.3_aggregate_202210.zip \
&& unzip OpenRepairData_v0.3_aggregate_202210.zip \
&& popd
gp sync-done dependencies
- name: Launch JupyterLab
init: |
gp sync-await dependencies
# Inspiration: https://github.com/jupyterlab/jupyterlab/blob/a920f33/.gitpod.yml
# and https://github.com/gitpod-io/gitpod/issues/16306
command: |
jupyter lab --port 8888 \
--ServerApp.token='' \
--ServerApp.allow_remote_access=true \
--no-browser
ports:
- port: 8888