docs: add cache busting, mobile FAB, and lint workflow documentation

This commit is contained in:
juanatsap
2025-12-06 11:34:57 +00:00
parent 68c9371d76
commit c63ce6dd91
2 changed files with 135 additions and 0 deletions
+29
View File
@@ -115,6 +115,35 @@ go run main.go
go build -o cv-server && ./cv-server
\`\`\`
### Development Workflow
The project includes automated quality checks at multiple stages:
| Stage | Command | What Runs | Coverage |
|-------|---------|-----------|----------|
| **Commit** | `git commit` | Pre-commit hook | Changed files only (fast) |
| **Push** | `git push` | Pre-push hook | **Entire codebase** (same as CI) |
| **Manual** | `make lint` | golangci-lint | Entire codebase |
| **Auto-fix** | `make lint-fix` | golangci-lint --fix | Fixes issues automatically |
**Available Make targets:**
\`\`\`bash
make lint # Run linter on entire codebase (same as CI)
make lint-fix # Auto-fix lint issues where possible
make test # Run unit tests
make test-all # Run all tests including integration
make check # Run lint + unit tests
make css-prod # Bundle and minify CSS for production
make dev # Start development server with hot reload
\`\`\`
**Bypassing hooks (when needed):**
\`\`\`bash
git commit --no-verify # Skip pre-commit hook
git push --no-verify # Skip pre-push hook
\`\`\`
### Access the Site
Open **http://localhost:1999** in your browser