Test Client for Two-Factor Authentication Using RADIUS test client
- Create a projects folder (if you don't have one):
mkdir path_to_project_folder
- Go to the projects folder:
$ cd path_to_project_folder
- To clone a repository with git clone .
$ git clone https://github.com/xandrade/radius.git
- Go to the project folder, for example:
cd path_to_project_folder
- Create virtual enviroment:
python -m venv .venv
2.1 if error 'Error: [WinError 2] The system cannot find the file specified' is shown, trypy -3.7 -m venv .venv
- Activate environment
.venv\Scripts\activate.bat
- After the virtual environment is active, we are going to want to ensure that a couple of essential Python packages within the virtual environment are up to date:
(.venv)> pip install -U setuptools pip
- Install the requirements:
(.venv)> pip install -r requirements.txt
- Open VSCode
(.venv)> code .
- Go to the project folder
$ cd path_to_project
- Activate environment
$ .venv\Scripts\activate.bat
- Run
$ pyinstaller --clean -F ./main.py --name middleware.radius