aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 11 insertions, 15 deletions
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