From 8b31678c6e44400967d4934cd9f3c6c6ac0da721 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Thu, 19 Feb 2026 20:11:41 -0500 Subject: Carer dir into project, some initial pytest, part of the flow tasks. License and Readme update --- README.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 361ffaa..64a61e8 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,23 @@ -# AMT James Billings +# [AMT James Billings](https://git.generalresearch.com/panels/amt-jb/) · [![license](https://cdn.generalresearch.com/buildStatus/icon?subject=license&status=MIT&color=blue)](./LICENSE) ![master (app)](https://cdn.generalresearch.com/buildStatus/icon?subject=master%20(api)&job=amt-jb-app%2Fmaster) ![master (ui)](https://cdn.generalresearch.com/buildStatus/icon?subject=master%20(ui)&job=amt-jb%2Fmaster) ![python](https://cdn.generalresearch.com/buildStatus/icon?subject=Python&status=3.13.7&color=blue) + ## Infrastructure ### FastAPI - Handles HIT acceptance -- Handles interface b/w react and backend: work, preview, report. +- Handles interface between React and FastAPI: work, preview, report. - Handling of submitted assignments: - - mturk_notifications view: SNS will POST to this endpoint whenever a user submits an assignment + - mturk_notifications view: SNS will POST to this endpoint whenever a user submits an Assignment - The message gets added to our event stream - process_mturk_events (which calls process_assignment_submitted) +- Refill Hits, check for expired hits ### React -### AirFlow -- Refill Hits, check for expired hits ## Network + ## System Environment ### Debian 12 @@ -80,14 +81,16 @@ systemctl status postgresql vim /etc/postgresql/18/main/pg_hba.conf ``` -#### Setup DNS Cache (LXC) +#### Setup DNS Cache ``` apt install dnsutils dnsmasq -y # /etc/dnsmasq.conf -server=10.16.2.2 -server=10.16.2.3 +server=x.x.x.x +server=x.x.x.x +server=x.x.x.x +server=x.x.x.x min-cache-ttl=30 no-resolv listen-address=::1,127.0.0.1 @@ -120,13 +123,6 @@ service nginx restart ``` - -Confirm uvicorn is running properly - -```shell -curl -i http://localhost:8000/headers/ -``` - ## Telegraf ```shell -- cgit v1.2.3