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
1. Make sure you have set up the repositories and Python environment according to the [top-level instructions](https://github.com/open-crs#requirements).
35
+
That is:
36
+
37
+
- Docker is installed and is properly running.
38
+
Check using:
39
+
40
+
```console
41
+
docker version
42
+
docker ps -a
43
+
docker run --rm hello-world
44
+
```
45
+
46
+
These commands should run without errors.
47
+
48
+
- The current module repository and all other module repositories (particularly the [`zeratool_lib` repository](https://github.com/open-crs/zeratool_lib) and the [`commons` repository](https://github.com/open-crs/commons)) are cloned in the same directory.
49
+
50
+
- You are running all commands inside a Python virtual environment.
51
+
There should be `(.venv)` prefix to your prompt.
52
+
53
+
- You have installed Poetry in the virtual environment.
54
+
If you run:
55
+
56
+
```console
57
+
which poetry
58
+
```
59
+
you should get a path ending with `.venv/bin/poetry`.
- Changing the Docker socket permissions (unsecure approach) via `chmod 777 /var/run/docker.sock`.
40
-
5. Build the arguments' adapter via `cd others/argv_adapter && make`.
83
+
- Changing the Docker socket permissions (unsecure approach) via `sudo chmod 777 /var/run/docker.sock`.
84
+
85
+
1. Build the arguments' adapter via `cd others/argv_adapter && make`.
41
86
42
87
## Development
43
88
44
-
If you make modifications to the Protobuf definition, please regenerate the Python sources with `poetry run python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. ./automatic_exploit_generation/exploiters/zeratool/protobuf/exploit.proto`.
89
+
If you make modifications to the Protobuf definition, please regenerate the Python sources with
90
+
```console
91
+
poetry run python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=.
0 commit comments