Requirements
-
Install
go >= 1.21
by following the official documentation ; -
Install
mage
using the online documentation ; -
Run the following to fetch all the required tools:
mage install
-
Define the following environment variables required for integration testing:
export FREEBOX_ENDPOINT="http://mafreebox.freebox.fr" # 👈 Or set it to your external endpoint if not running on your home network export FREEBOX_VERSION="latest" export FREEBOX_APP_ID="..." # See https://dev.freebox.fr/sdk/os/login/ to learn export FREEBOX_TOKEN="..." # how to define an app and generate a private token
-
Verify the previous steps by running:
mage