You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Install Devbox on Linux/MacOS: `curl -fsSL https://get.jetify.com/devbox | bash`
64
+
- Install Devbox on [Windows/WSL](https://www.jetify.com/docs/devbox/installing-devbox/index#installing-wsl2)
65
+
- Update to latest version of devbox: `devbox version update`
66
+
- Set your GitHub access token in the `~/.config/nix/nix.conf` file file: `access-tokens = github.com=YOUR_TOKEN_HERE`
67
+
- Create a new, isolated shell environment that includes all the tools and packages specified in the project's `devbox.json` file: `devbox shell`
68
+
- Display the full path to the Python executable that will be used when you simply type `python` in your terminal by using the which python command. The output should be the following path: `.devbox/nix/profile/default/bin/python`
69
+
- Test by running the following command, which should generate a DFD as a PNG file called `sample.png`: `./tm.py --dfd | dot -Tpng -o sample.png`
70
+
- Exit the Devbox shell environment: `exit`
71
+
70
72
71
73
## Usage
72
74
@@ -130,7 +132,7 @@ Element class attributes:
130
132
The *colormap* argument, used together with *dfd*, outputs a color-coded DFD where the elements are painted red, yellow or green depending on their risk level (as identified by running the rules).
0 commit comments