This guide will walk you through the steps required to deploy the NoiseTracker Client application on your local machine and to distribute it to hydrophone operators.
NoiseTracker client requires that the cloud backend is deployed. Please refer to the NoiseTracker Web Application for more information on how to deploy the backend.
- Clone the repository to your local machine:
git clone https://github.com/UBC-CIC/noise-tracker-client.git
- Inside the repository, create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Fill out the empty strings in
constants.py
file with the appropriate values from the cloud backend. - Run the client application:
python3 main.py
- Create a standalone executable:
pyinstaller --onefile --windowed main.py -n NoiseTracker --icon="./Icon.iconset/icon.png"
- The executable will be located in the
dist
directory. You can distribute this executable to hydrophone operators. To build for other operating systems, you need to run this process on the target operating system.