-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 1.01 KB
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Meritor - reproduce everything a judge needs in one place.
PY ?= .venv/bin/python
PIP ?= .venv/bin/pip
.PHONY: setup test demo web attest reproduce clean
setup: ## create the venv and install dependencies
python3 -m venv .venv
$(PIP) install -q --upgrade pip
$(PIP) install -q -r requirements.txt pytest
test: ## run the full test suite
$(PY) -m pytest -q
demo: ## the fresh-session recall beat + deletion test, on real Sibyl Memory
MEMORY_DRIVER=sibyl SIBYL_MEMORY_DB=.meritor/demo.db SIBYL_TENANT_ID=meritor-demo \
./demo/fresh_session_demo.sh
web: ## launch the landing page + live credit desk at http://127.0.0.1:8848
$(PY) -m uvicorn web.server:app --host 127.0.0.1 --port 8848
attest: ## publish a recalled tier to Base as an EAS attestation (needs a funded .env wallet)
$(PY) -m meritor.cli attest 0xALPHA
reproduce: setup test demo ## setup -> tests -> demo, from a clean clone
clean: ## remove local memory databases
rm -rf .meritor