Add read only mode

This commit is contained in:
2026-06-29 16:28:22 +02:00
parent 534f88c9c5
commit 1f107e2e98
3 changed files with 10 additions and 1 deletions

View File

@@ -23,6 +23,13 @@ uv run fastapi dev src/allmende_payment_system/app.py
```
A demo user will be created automatically.
### Configuration
A preliminary config system exists and works via environment variables:
* APS_READ_ONLY: If set, users can make no purchases
* APS_PRODUCTION_MODE: If set, demo functionality, like adding money to an account and the demo banner are removed.
### Testing
APS uses pytest. You can run the test suite with: