Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,20 @@ jobs:
locale
locale -c -k LC_NUMERIC
localectl status

- name: Install graphviz
run: |
sudo apt-get install graphviz nodejs npm

- name: Install Dependencies
run: |
uv sync
npm install

- name: Build Blog
run: |
uv run poe build

- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ Install sketchviz
npm i
```

Install `uv`, follow the instructions in their documentation https://docs.astral.sh/uv/getting-started/installation/,
`uv` will handle all the dependencies and the python installation as well. So we don't need to install `python`
separately.
Install `uv`, follow the instructions in their documentation
https://docs.astral.sh/uv/getting-started/installation/, `uv` will handle all
the dependencies and the python installation as well. So we don't need to
install `python` separately.

Then install all the necessary packages (make sure to change to the root directory of the project):
Then install all the necessary packages (make sure to change to the root
directory of the project):

```shell
uv sync
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ dev = [
cmd = "ablog build"
# we pass binary defined inside node package so sphinx can called when building the site
env = { SKETCHVIZ_BINARY = "./node_modules/.bin/sketchviz" }

[tool.black]
line-length = 79