To run Process Governor from source code, follow these steps:
- Clone this repository.
- Install the required dependencies using
pip
:pip install -r requirements.txt
- Run the
process-governor.py
script with administrative privileges:python process-governor.py
- Configure the rules for processes and services.
You can create a portable version of the program using PyInstaller. Follow these steps to build the portable version:
- Install PyInstaller using
pip install pyinstaller
. - Run the
python build_portable.py
script. - After the script completes, you will find the portable build in the
dist
folder.
Now you have a portable version of the program that you can use without installation.