tractatus/src/models
TheFlow d95dc4663c feat(infra): semantic versioning and systemd service implementation
**Cache-Busting Improvements:**
- Switched from timestamp-based to semantic versioning (v1.0.2)
- Updated all HTML files: index.html, docs.html, leader.html
- CSS: tailwind.css?v=1.0.2
- JS: navbar.js, document-cards.js, docs-app.js v1.0.2
- Professional versioning approach for production stability

**systemd Service Implementation:**
- Created tractatus-dev.service for development environment
- Created tractatus-prod.service for production environment
- Added install-systemd.sh script for easy deployment
- Security hardening: NoNewPrivileges, PrivateTmp, ProtectSystem
- Resource limits: 1GB dev, 2GB prod memory limits
- Proper logging integration with journalctl
- Automatic restart on failure (RestartSec=10)

**Why systemd over pm2:**
1. Native Linux integration, no additional dependencies
2. Better OS-level security controls (ProtectSystem, ProtectHome)
3. Superior logging with journalctl integration
4. Standard across Linux distributions
5. More robust process management for production

**Usage:**
  # Development:
  sudo ./scripts/install-systemd.sh dev

  # Production:
  sudo ./scripts/install-systemd.sh prod

  # View logs:
  sudo journalctl -u tractatus -f

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 09:16:22 +13:00
..
BlogPost.model.js feat: add MongoDB models for core collections 2025-10-06 23:54:56 +13:00
CaseSubmission.model.js feat: add MongoDB models for core collections 2025-10-06 23:54:56 +13:00
Document.model.js feat(infra): semantic versioning and systemd service implementation 2025-10-09 09:16:22 +13:00
Donation.model.js feat: add multi-currency support and privacy policy to Koha system 2025-10-08 15:17:23 +13:00
GovernanceLog.model.js feat: fix documentation system - cards, PDFs, TOC, and navigation 2025-10-07 22:51:55 +13:00
index.js feat: fix documentation system - cards, PDFs, TOC, and navigation 2025-10-07 22:51:55 +13:00
MediaInquiry.model.js feat: add MongoDB models for core collections 2025-10-06 23:54:56 +13:00
ModerationQueue.model.js feat(infra): semantic versioning and systemd service implementation 2025-10-09 09:16:22 +13:00
Resource.model.js feat: add MongoDB models for core collections 2025-10-06 23:54:56 +13:00
User.model.js feat: add MongoDB models for core collections 2025-10-06 23:54:56 +13:00