Add read only mode
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user