Generally working.
This commit is contained in:
@@ -15,4 +15,8 @@ This file provides guidance to agents when working with code in this repository.
|
||||
- **Configuration Loading**: File config takes priority over database - check XDG paths first, fallback to database
|
||||
- **Blob Metadata**: Database is single source of truth - use `get_blob_metadata()`, not filesystem checks
|
||||
- **nostr_core_lib Build**: Uses `build.sh` script, NOT `make` - run `./build.sh` to compile the library
|
||||
- **Server Testing**: Use `./restart-all.sh` to properly restart and test ginxsom server, NOT direct binary execution
|
||||
- **Server Testing**: Use `./restart-all.sh` to properly restart and test ginxsom server, NOT direct binary execution
|
||||
- **spawn-fcgi Parameters**: Must use `-M 666 -u "$USER" -g "$USER"` for socket permissions and ownership
|
||||
- **Admin Event Structure**: Admin auth uses kind 24242 with "t" tag containing HTTP method, expiration typically 1 hour
|
||||
- **Key File Permissions**: `.admin_keys` file must be chmod 600 or auth tests will fail
|
||||
- **Development Environment**: Set `GINX_DEBUG=1` for pubkey extraction diagnostics during development
|
||||
Reference in New Issue
Block a user