Update README and declare missing dependencies
Add JIRORIAN_BASE_URL, JIRORIAN_PORT, JIRORIAN_APP_SECRETS to env var table, fix dev command path (src/jirorian/), and explicitly declare coincurve and cryptography in pyproject.toml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b5bcef3d0a
commit
1f57b690dd
3 changed files with 11 additions and 2 deletions
|
|
@ -16,6 +16,10 @@ All configuration is via environment variables:
|
|||
|
||||
| Variable | Description |
|
||||
|---|---|
|
||||
| `JIRORIAN_BASE_URL` | Public base URL of this service (e.g. `https://upload.example.com`) |
|
||||
| `JIRORIAN_PORT` | Port to listen on (default: `8000`) |
|
||||
| `JIRORIAN_DB` | SQLite DB path (default: `jirorian.db`) |
|
||||
| `JIRORIAN_APP_SECRETS` | JSON object mapping app names to their shared secrets, e.g. `{"myapp": "secret123"}` |
|
||||
| `R2_ENDPOINT` | `https://<account_id>.r2.cloudflarestorage.com` |
|
||||
| `R2_ACCESS_KEY_ID` | R2 access key |
|
||||
| `R2_SECRET_ACCESS_KEY` | R2 secret key |
|
||||
|
|
@ -23,13 +27,12 @@ All configuration is via environment variables:
|
|||
| `R2_CDN_URL` | Public CDN base URL |
|
||||
| `SERVICE_NOSTR_PRIVKEY` | Service Nostr private key (hex) |
|
||||
| `SERVICE_RELAY_URL` | Relay to subscribe to for registrations |
|
||||
| `JIRORIAN_DB` | SQLite DB path (default: `jirorian.db`) |
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
nix develop # enter dev shell with uv + virtualenv
|
||||
uv run fastapi dev jirorian/main.py
|
||||
uv run fastapi dev src/jirorian/main.py
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue