Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.46 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.46 KB

Minimal FreeRADIUS GUI (MFG)

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).

development environment

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.

0. install MFG

sudo apt install git
cd
git clone https://github.com/filippolauria/mfg.git
source mfg/setup/install.sh

1. execute MFG

cd
source mfg/env/bin/activate
FLASK_APP=mfg FLASK_DEBUG=1 flask run --host=127.0.0.1 --port=8888