Skip to content

Commit

Permalink
Install with poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
montezdesousa committed Jun 24, 2024
1 parent 1321a12 commit 2bece37
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@ jobs:
libgtk-3-dev \
libwebkit2gtk-4.0-dev
- name: Generate Platform Markdown
- name: Download OpenBB Platform code
run: |
curl -sSL https://codeload.github.com/OpenBB-finance/OpenBBTerminal/zip/refs/heads/main -o /tmp/openbb.zip && \
unzip /tmp/openbb.zip -d /tmp/openbb && \
rm /tmp/openbb.zip && mkdir -p ./.openbb && \
mv /tmp/openbb/OpenBBTerminal-main/openbb_platform/* ./.openbb && \
rm /tmp/openbb.zip && mkdir -p ./openbb_platform && \
mv /tmp/openbb/OpenBBTerminal-main/openbb_platform/* ./openbb_platform && \
rm -rf /tmp/openbb
pip install poetry
python .openbb/dev_install.py -e
- name: Generate Platform Markdown
run: |
poetry install -C openbb_platform --no-interaction
source openbb_platform/.venv/bin/activate
python openbb_platform/dev_install.py --extras
python -c "import openbb; openbb.build()"
python scripts/generate_platform_markdown.py
- name: Generate Excel Docs
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ content/platform/reference/*
content/pro/widgets-library

# Download Platform code from https://github.com/OpenBB-finance/OpenBBTerminal
.openbb
openbb_platform

0 comments on commit 2bece37

Please sign in to comment.