This commit introduces several new files to enhance project organization and developer onboarding. The `.cursorignore` and `.cursorrules` files provide guidelines for Cursor AI, while `CONTRIBUTING.md` outlines contribution procedures. Additionally, `IMPORT_FIX_SUMMARY.md`, `RESTRUCTURE_SUMMARY.md`, and `STATUS.md` summarize recent changes and project status. The `README.md` has been updated to reflect the new project focus and structure, ensuring clarity for contributors and users. These additions aim to improve maintainability and facilitate collaboration within the PunimTag project.
2.3 KiB
2.3 KiB
PunimTag - Quick Start Guide
🚀 Running the Application
Start Dashboard
source venv/bin/activate
python run_dashboard.py
Run CLI Tool
source venv/bin/activate
python -m src.photo_tagger --help
📁 Project Structure
punimtag/
├── src/
│ ├── core/ # Business logic
│ ├── gui/ # GUI components
│ └── utils/ # Utilities
├── tests/ # Test suite
├── docs/ # Documentation
├── .notes/ # Project planning
└── run_dashboard.py # Main launcher
📚 Key Documentation
- README.md - Main documentation
- CONTRIBUTING.md - How to contribute
- docs/ARCHITECTURE.md - System design
- RESTRUCTURE_SUMMARY.md - Restructure details
- IMPORT_FIX_SUMMARY.md - Import fixes
🔧 Common Tasks
Add Photos
- Open dashboard:
python run_dashboard.py - Click "Scan Photos" in menu
- Select folder with photos
Process Faces
- Open dashboard
- Click "Process Photos" button
- Wait for face detection to complete
Identify People
- Open "Identify" tab
- View unidentified faces
- Enter person name or select existing
- Click "Identify"
Search Photos
- Open "Search" tab
- Enter search criteria (name, date, tags)
- View results
🐛 Troubleshooting
ModuleNotFoundError
Solution: Use run_dashboard.py launcher, not direct file execution
Import Errors
Solution: Make sure you're in the venv:
source venv/bin/activate
PIL/ImageTk Error
Solution: Install Pillow in venv:
pip install Pillow
💡 Tips
- Always activate venv before running
- Use
run_dashboard.pyfor GUI - Use
python -m src.photo_taggerfor CLI - Check
.notes/for planning docs - Read
docs/ARCHITECTURE.mdfor system design
📞 Need Help?
- Check documentation in
docs/ - Read
.notes/for planning info - See
CONTRIBUTING.mdfor guidelines
Quick Command Reference:
# Activate environment
source venv/bin/activate
# Run dashboard
python run_dashboard.py
# Run CLI
python -m src.photo_tagger
# Run tests
python -m pytest tests/
# Deactivate environment
deactivate
Last Updated: October 15, 2025