docs(config): Update README with JSON configuration format #24
Reference in New Issue
Block a user
Delete Branch "setup-build-config-system"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Updates documentation to reflect the actual JSON-based configuration system that was already implemented. Resolves Issue #6.
Changes
Updated README.md
Configuration System Features
Files
config.example.json- Template configuration with all optionsscripts/load-config.sh- Loads JSON and exports environment variablesscripts/validate-config.sh- Validates required fields and formatsdocs/configuration.md- Comprehensive configuration guideSupported Environment Variables
NEXTCLOUD_URL- Nextcloud server URL (required)NEXTCLOUD_USER- Username for authentication (required)NEXTCLOUD_PASSWORD- Password or app password (required)MAX_RECENT_FOLDERS- Number of recent folders to track (default: 5)UPLOAD_CHUNK_SIZE- Upload chunk size in bytes (default: 10MB)CONFIG_FILE- Path to config file (default: config.json)Key Features
Testing
All acceptance criteria verified:
Test Results
Usage Examples
Local development:
CI/CD pipeline:
Related Issues
Closes #6
Note: The configuration scripts were already implemented; this PR only updates the documentation to match the actual implementation.