-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DouglasOrr
committed
Jul 25, 2024
1 parent
056ffde
commit 5dc7a0d
Showing
8 changed files
with
51 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Development | ||
|
||
For users who wish to develop using this codebase, the following setup is required: | ||
|
||
**First-time setup**: | ||
|
||
```bash | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip install -r requirements-dev.txt # Or requirements-dev-ipu.txt for the ipu | ||
``` | ||
|
||
**Subsequent setup**: | ||
|
||
```bash | ||
source .venv/bin/activate | ||
``` | ||
|
||
**Run pre-flight checks** (or run `./dev --help` to see supported commands): | ||
|
||
```bash | ||
./dev | ||
``` | ||
|
||
**IDE recommendations**: | ||
|
||
- Python intepreter is set to `.venv/bin/python` | ||
- Format-on-save enabled | ||
- Consider a `.env` file for setting `PYTHONPATH`, for example `echo "PYTHONPATH=$(pwd)" > .env` | ||
(note that this will be a different path if using devcontainers) | ||
|
||
**Docs development**: | ||
|
||
```bash | ||
cd docs/ | ||
make html | ||
``` | ||
|
||
then view `docs/_build/html/index.html` in your browser. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters