- 8 GB of RAM to execute the prototype with the provided example
- 20 GB of available hard-disk space, if you want to run the oracle tests
- *nix operating system
- git
- python3
- pip
- docker
Obtain the source code for the ml-sast prototype by cloning this repository to a directory on your local computer.
If you cannot clone the repository, you should be able to download a zip file containing the ml-sast prototype. Extract this to a location on your local computer.
As the prototype uses Docker to executes some steps of its pipeline, your user should be part of the docker group. To add your user to the docker group consult the following link.
As the ml-sast prototype has a variety of dependencies, it is always a good idea to create a virtual environment:
python3 -m venv /path/to/new/virtual/environment
Next the virtual environment needs to be activated:
source /path/to/new/virtual/environment/bin/activate
Afterwards the dependencies for the ml-sast prototype can be installed:
pip install -r requirements.txt
Finally, the ml-sast prototype can be installed:
pip install .
Similarly install the frontend:
cd frontend
pip install .
To run the ml-sast prototype have a look at the instructions in the Usage guide.