Skip to content

Commit

Permalink
Add install instructions. Switch to mise configuration from rtx (#20)
Browse files Browse the repository at this point in the history
* Add install instructions. Switch to mise configuration from rtx

* Ignore INSTALL.md from book
  • Loading branch information
bryanwweber committed Jan 27, 2024
1 parent 280ebec commit 5701f56
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tools]
python = { version = "3.11", virtualenv = ".venv" }
markdownlint-cli2 = "latest"
pdm = "latest"

[plugins]
pdm = "https://github.com/1oglop1/asdf-pdm"
markdownlint-cli2 = "https://github.com/paulo-ferraz-oliveira/asdf-markdownlint-cli2"
3 changes: 0 additions & 3 deletions .rtx.toml

This file was deleted.

5 changes: 5 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Install/Build the Book

The repo is set up to use [mise](https://mise.jdx.dev) to install required tools. Once `mise` is installed, changing into this directory should install the correct tools with the right versions.

After that, running `pdm install` should install the dependencies. Then `doit build_jb` will build the book.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exclude_patterns:
- chapter-4
- .venv
- .pytest_cache
- INSTALL.md

latex:
latex_engine: xelatex
Expand Down

0 comments on commit 5701f56

Please sign in to comment.