Minimal FreeRADIUS GUI (MFG) is a web application written in Python 3 on top of Flask, SQLAlchemy and WTForms, which aims at managing an instance of FreeRADIUS (Version 3.x) with MySQL support (installation guide).
This section describes the steps to quickly setup a development environment on a Debian 11 instance (equipped w/ sudo). It is supposed that you have already installed FreeRADIUS and configured it with MySQL support as described here. Minimal FreeRADIUS GUI (MFG) has an interactive installation script that automatically creates a python3 virtualenv, installs all the required dependencies and generates the needed config.json file. The installation script can be run by sudoers and when needed it will execute commands using sudo hence asking for the password.
sudo apt install git
cd
git clone https://github.com/filippolauria/mfg.git
source mfg/setup/install.sh
cd
source mfg/env/bin/activate
FLASK_APP=mfg FLASK_DEBUG=1 flask run --host=127.0.0.1 --port=8888