Files
breedr/QUICKSTART.md

82 lines
2.8 KiB
Markdown
Raw Normal View History

2026-03-12 07:40:50 -05:00
# BREEDR Quick Start Guide (v0.8.0)
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
Welcome to BREEDR! This guide will help you get up and running with the most powerful kennel management and pedigree mapping features.
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
---
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
## 🚀 Installation & Setup
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### 1. The Easy Way (Docker)
Ensure you have Docker and Docker-Compose installed.
```bash
git clone https://git.alwisp.com/jason/breedr.git
cd breedr
docker-compose up -d --build
2026-03-09 00:12:14 -05:00
```
2026-03-12 07:40:50 -05:00
Open your browser to `http://localhost:3000`.
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### 2. Manual Development Setup
2026-03-09 00:12:14 -05:00
```bash
2026-03-12 07:40:50 -05:00
# 1. Install project dependencies
2026-03-09 00:12:14 -05:00
npm install
2026-03-12 07:40:50 -05:00
# 2. Start the dev environment (Frontend @ 5173, Backend @ 3000)
2026-03-09 00:12:14 -05:00
npm run dev
```
2026-03-12 07:40:50 -05:00
> **Note:** The database initializes automatically on first boot. No manual migrations are required.
2026-03-09 00:12:14 -05:00
---
2026-03-12 07:40:50 -05:00
## 🐕 Managing Your Kennel
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### Adding or Importing Dogs
1. Go to the **Dogs** page.
2. Click **Add New Dog**.
3. Fill in the core details (Name, Registration, Breed, Sex).
4. **Pedigree Mapping**: You can select a Sire and Dam from your existing dogs.
5. **External Dogs**: Check "External Dog" if you are adding an ancestor that isn't in your kennel.
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### Champion Tracking
- Use the **Champion Toggle** in the Add/Edit form to mark titled dogs.
- They will appear with a `✪` star in dropdowns and display a gold badge on their profile.
- Their offspring will automatically display the "Champion Bloodline" badge.
2026-03-09 00:12:14 -05:00
---
2026-03-12 07:40:50 -05:00
## 🧬 Breeding Tools
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### 1. Pedigree Visualization
- Click **Pedigree** on any dog detail page.
- **Ancestors View**: Default interactive 5-generation tree.
- **Descendants View**: Toggle the switch in the header to see the "Reverse Pedigree" (offspring lineage).
- Use the mouse wheel or on-screen buttons to zoom and pan.
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### 2. Trial Pairing Simulator
- Go to the **Pairing Simulator** via the flask icon in the navbar.
- Select a potential Sire and Dam.
- **COI Calculation**: Instantly see the Wright's Inbreeding Coefficient.
- **Ancestry Check**: The system flags common ancestors and provides a risk badge (Low < 5%, Moderate 5-10%, High > 10%).
2026-03-09 00:12:14 -05:00
2026-03-12 07:40:50 -05:00
### 3. Heat Cycle Calendar
- Use the **Calendar** to track female heat cycles.
- **Phase Colors**: Automatically segments cycles into Proestrus, Optimal, Late, and Diestrus.
- **Projected Whelping**: Log a breeding date to see a indigo "Whelping Window" and expected due dates directly on the main calendar grid.
2026-03-09 00:12:14 -05:00
---
2026-03-12 07:40:50 -05:00
## ⚙️ Kennel Customization
- Visit the **Settings** page.
- Configure your Kennel Name, Tagline, Address, and Contact info.
- This information updates your site branding and navbar automatically.
2026-03-09 00:12:14 -05:00
---
2026-03-12 07:40:50 -05:00
## ❓ Troubleshooting
- **COI shows 0.00%?**: Ensure you have both parents mapped and that they have shared ancestors.
- **Image not loading?**: Ensure `br-logo.png` is in the `static/` folder for branding.
- **Database "No such column"?**: Simply restart the app; the auto-init logic will fix the schema.
2026-03-09 00:12:14 -05:00
---
**Happy Breeding! 🐶**