Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra committed Oct 31, 2024
1 parent 68c3a7f commit fb42f6c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
26 changes: 25 additions & 1 deletion 200/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
# 200 - Requirements

We use [pipx](https://github.com/pypa/pipx?tab=readme-ov-file#install-pipx) instead of ```pip```, for isolation.

1. Install pipx:
see https://github.com/pypa/pipx?tab=readme-ov-file#install-pipx for platform (Linux, macOS, Windows) specifics.

Linux:
```bash
$ python3 -m pip install --user pipx
$ python3 -m pipx ensurepath
$ source ~/.bashrc
$ sudo pipx ensurepath --global # optional to allow pipx actions with --global argument
```

macOS:
```bash
$ brew install pipx
$ pipx ensurepath
$ sudo pipx ensurepath --global # optional to allow pipx actions with --global argument
```

Windows:
```bash
$ scoop install pipx
$ pipx ensurepath
```

2. Install python with pipx:
```bash
$ pipx install python
```

We use [hatch](https://hatch.pypa.io/) for project management.
2. Install hatch:

1. Install hatch:
```bash
$ pipx install hatch
```
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ threagile-builder
**Executive Summary**

Getting your code up and running on your own system.

1. Installation process:
```bash
cd threagile-builder
pip install -r requirements.txt
pipx install -r requirements.txt
hatch run src/threagile_builder/app
```
2. Software dependencies
Expand Down

0 comments on commit fb42f6c

Please sign in to comment.