Skip to content

Commit 9961517

Browse files
committed
restructure gitpod tasks
1 parent 3530841 commit 9961517

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

.gitpod.yml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
11

22
tasks:
3-
- name: OpenBB Terminal and SDK # Install and Setup: miniconda, openbb terminal and openbb sdk
4-
before: |
3+
- name: Download OpenBB Terminal
4+
command: |
5+
git clone https://github.com/OpenBB-finance/OpenBBTerminal.git
6+
7+
- name: Install miniconda
8+
command: |
59
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
610
bash ~/miniconda.sh -b -p ${HOME}/miniconda
711
eval "$(${HOME}/miniconda/bin/conda shell.bash hook)"
812
conda init
913
conda install -n base -c conda-forge mamba -y
1014
mamba create -n genelab-utils -c conda-forge -c bioconda -c defaults -c astrobiomike 'genelab-utils>=1.1.02' -y
11-
git clone https://github.com/OpenBB-finance/OpenBBTerminal.git
12-
cd OpenBBTerminal
13-
init: |
15+
gp sync-done pythonconda
16+
17+
- name: Environment
18+
command: |
19+
gp sync-await pythonconda
1420
conda create -n obb python=3.9.6 -y
1521
conda activate obb
22+
gp sync-done condaenv
23+
24+
- name: OpenBB SDK
25+
before: |
26+
gp sync-await condaenv
27+
conda activate obb
28+
command:
29+
pip install openbb==2.0.0
30+
pip install "openbb[all]"
31+
32+
- name: OpenBB Terminal
33+
before: |
34+
gp sync-await condaenv
35+
conda activate obb
36+
cd OpenBBTerminal
37+
init:
1638
pip install openbb==2.0.0
1739
pip install "openbb[all]"
1840
poetry install -E all

0 commit comments

Comments
 (0)