From eef6f0c4737955b126f5158622f7790450bb2e39 Mon Sep 17 00:00:00 2001 From: missytake Date: Sat, 18 Mar 2023 13:49:04 +0100 Subject: [PATCH] [doc] Document pytest dependencies and webUI development requirements --- CONTRIBUTING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f2681cc..26f24b7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ 3. Activate your dev environment with `source .venv/bin/activate` 4. Update pip packages with `pip install -U pip setuptools wheel` 5. Install with `pip install .` -6. Install development dependencies with `pip install tox black` +6. Install development dependencies with `pip install tox black pytest pytest-aiohttp` 7. Add git-hook to run test and stylecheck before commmit with `ln -s ../../git-hooks/pre-commit .git/hooks/pre-commit` 8. Add git-hook to check commmit message format with @@ -140,6 +140,8 @@ development team. - `model.py` - `webapi.py` 2. Import your bot in `kibicara/webapi/__init__.py`. +3. Generate the FastAPI stuff +4. Generate the angular components for the kibicara-frontend from the FastAPI stuff ### Explanation @@ -202,3 +204,5 @@ A bot should have at least this functionality: - e.g. Twitter via posts or retweets - e.g. Telegram via direct message from the bot - e.g. E-Mail via e-mail to the user's address + +- Web Interface (hood admins)