The EUDI rQES Wallet-Driven Wallet Tester application was tested with
- Python version 3.10.8
and should only be used with Python 3.10 or higher.
If you don't have it installed, please downlod it from https://www.python.org/downloads/ and follow the Python Developer's Guide.
The EUDI rQES Wallet-Driven Wallet Tester application was tested with
- Flask v. 2.3
and should only be used with Flask v. 2.3 or higher.
To install Flask, please follow the Installation Guide.
To run the application, follow these simple steps (some of which may have already been completed when installing Flask) for Linux/macOS or Windows.
Clone the eudi-app-web-walletdriven-tester-py repository:
git clone <repository>
Create a .venv
folder within the cloned repository:
cd eudi-app-web-walletdriven-tester-py
python3 -m venv .venv
Linux/macOS
. .venv/bin/activate
Windows
. .venv\Scripts\Activate
Install or upgrade pip
python -m pip install --upgrade pip
Install Flask and other dependencies in virtual environment
pip install -r app/requirements.txt
Copy _config.py to config.py and modify the following configuration variables:
- secret_key: define a secure and random key
- service_url: the base URL of the Wallet Tester
- AS: the URL of the QTSP Authorization Server (AS)
- RS: the URL of the QTSP Resource Server (RS)
- SCA: the URL of the rQES External SCA Server
- oauth_client_id: the client ID of the Wallet Tester in the QTSP AS
- oauth_client_secret: the client secret of the Wallet Tester in the QTSP AS
Run the EUDI rQES Wallet-Driven Wallet Tester application (on http://127.0.0.1:5000)
flask --app app run