rb-wf-ag/README.md

3.3 KiB

wfagent Monorepo

This repository contains two independent Python applications:

  • agent/ - the wfagent agent for wpa_supplicant
  • backend/ - the wfagent_backend HTTP delivery backend

Each application has its own README.md, pyproject.toml, tests, and example configuration.

Layout

Code Navigation

Agent

Backend

Install

Install the agent:

cd agent
python -m pip install -e .

Install the backend:

cd backend
python -m pip install -e .

Run

Run the agent:

cd agent
wfagent --config wfagent.example.yaml

Run the backend:

cd backend
wfagent_backend --config wfagent_backend.example.yaml

Test

Run the agent tests:

pytest agent/tests

Run the backend tests:

pytest backend/tests

More Information