Skip to content

Commit d5253ae

Browse files
authored
Merge pull request #1 from dMLTquant/miniconda-Docker-I
Working Miniconda env with OpenBB SDK
2 parents 0ba9410 + 58eb80a commit d5253ae

File tree

3 files changed

+58
-62
lines changed

3 files changed

+58
-62
lines changed

.gitpod.yml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
21
tasks: # before and init tasks are pre-built: https://www.gitpod.io/docs/configure/projects/prebuilds
3-
- name: OpenBB Terminal # Install and Setup: miniconda, openbb terminal and openbb sdk
4-
before: |
5-
git clone https://github.com/OpenBB-finance/OpenBBTerminal.git
6-
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
7-
bash ~/miniconda.sh -b -p ${HOME}/miniconda
8-
eval "$(${HOME}/miniconda/bin/conda shell.bash hook)"
9-
conda init
10-
conda install -n base -c conda-forge mamba -y
11-
mamba create -n genelab-utils -c conda-forge -c bioconda -c defaults -c astrobiomike 'genelab-utils>=1.1.02' -y
12-
conda create -n obb python=3.9.6 -y
2+
3+
- name: OpenBB SDK
4+
before: |
5+
mkdir -p ~/miniconda3
6+
curl -o ~/miniconda3/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
7+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
8+
rm -rf ~/miniconda3/miniconda.sh
9+
~/miniconda3/bin/conda init bash
10+
~/miniconda3/bin/conda init zsh
11+
init: |
12+
conda create -n obb python=3.9.6 -y
1313
conda activate obb
14-
pip install openbb==2.0.0
15-
pip install "openbb[all]"
16-
cd OpenBBTerminal
17-
poetry install -E all
18-
init: conda activate obb
19-
command: openbb
14+
pip install openbb[all]==2.0.0
15+
command: conda activate obb
2016

2117

2218
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
23-
ports:
24-
- port: 3000
25-
onOpen: open-preview
19+
# ports:
20+
# - port: 3000
21+
# onOpen: open-preview
2622

2723
github:
2824
prebuilds:

obb_04_forex.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"source": [
1616
"from openbb_terminal.sdk import openbb\n",
1717
"import pandas as pd\n",
18-
"%matplotlib inline"
18+
"#%matplotlib inline"
1919
]
2020
},
2121
{
@@ -816,7 +816,7 @@
816816
"orig_nbformat": 4,
817817
"vscode": {
818818
"interpreter": {
819-
"hash": "c19b3454282ae488795cb8df1015f868dabaca8e1bcf5b4e82202be3250b3d6b"
819+
"hash": "f46f5ba24616c02335620bceb7380b6a67156249e46c4faf8787b71514003428"
820820
}
821821
}
822822
},

obb_05_futures.ipynb

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)