remove: obsolete HTML template processing system

- Remove index.html.template (template processing never implemented)
- Fix empty title in index.html by adding proper default title
- Update documentation to remove references to non-existent:
  - scripts/process-html.sh
  - predev/prebuild npm scripts
  - HTML template processing workflow
- Simplifies build process and fixes broken page title
This commit is contained in:
William Valentin
2025-09-08 22:21:14 -07:00
parent 10e0d6d14b
commit b5b475f21b
4 changed files with 13 additions and 70 deletions

View File

@@ -159,23 +159,20 @@ APP_NAME=MedicationTracker
## Troubleshooting
### Common Issues
1. **App name not displaying**: Check `config/unified.config.ts` for correct `APP_NAME` value
2. **Docker build fails**: Check that environment variables are properly set
1. **HTML title not updating**: Ensure `index.html.template` exists and `process-html.sh` runs
2. **Docker build fails**: Check that `APP_NAME` doesn't contain invalid characters for Docker tags
3. **Kubernetes deployment fails**: Verify `APP_NAME` follows Kubernetes naming conventions
### Validation
## Testing
```bash
# Test HTML processing
APP_NAME=TestApp ./scripts/process-html.sh
# Test configuration
bun run config
# Test Docker build
APP_NAME=TestApp make deploy
# Test build
bun run build
# Check generated files
grep -r "TestApp" dist/
# Check configuration values
bun run config:env
```
## Best Practices