Preparing Additional Tools¶
These tools are designed to work on Linux/macOS systems. They are wrappers for commonly used personal functions and have not been specifically tested for Windows compatibility, although this does not mean FIRERPA itself is unsupported on Windows. If you are using Windows, scripts ending in .sh will likely not function correctly. Before you begin, please ensure the FIRERPA server is running on your device. Some command documentation may become outdated due to updates. To avoid version conflicts, please install the latest version of FIRERPA, its Python library, and dependencies on your mobile device before proceeding. Some features require adb, so please make sure you have the latest version of adb installed.
Cloning the Tool's Code¶
First, you need to execute the following command to download the scripts and code for the related tools. We assume you have git installed.
git clone https://github.com/firerpa/lamda.git
Tip
Installing Dependencies¶
Navigate to the tools directory within the tool's source code and install the required Python dependencies.
pip3 install -r requirements.txt
Attention
Environment Setup¶
Before using the tools, you need to modify environment variables based on the server's startup parameters. Otherwise, the tools will not be able to automatically match your modified settings, such as port or certificate information. If you have enabled a service certificate on the server, you need to set the path to your certificate before use.
# For Linux / macOS
export CERTIFICATE=/path/to/lamda.pem
# For Windows (the path cannot contain spaces)
set CERTIFICATE=C:\Users\path\to\lamda.pem
Alternatively, if you have changed the default port for the FIRERPA service from 65000, you also need to set the port environment variable before use.
# For Linux / macOS
export PORT=8123
# For Windows (the path cannot contain spaces)
set PORT=8123