Files
PriceForge/README.md
Mikhail Chusavitin 7d402b756d docs: add bible/ as single source of architectural truth
- Created bible/ with hierarchical documentation (architecture, pricelists,
  vendor mapping, background tasks, data rules, patterns, API, operations, history)
- CLAUDE.md reduced to one instruction: read and follow the bible
- README.md reduced to quick start only
- Removed MEMORY.md and csv_export.md (content consolidated into bible/)
- Fixed stale facts found during audit: weighted_avg (not weighted_median),
  correct API route names (/export-csv, /recalculate-all)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 14:16:47 +03:00

39 lines
779 B
Markdown

# PriceForge
Price and pricelist manager for MariaDB.
- **Main UI**: http://127.0.0.1:8084/admin/pricing
- **Architecture docs**: [`bible/`](bible/BIBLE.md)
## Quick Start
```bash
cp config.example.yaml config.yaml
# Edit config.yaml: database.host, name, user, password
make run
```
## Commands
```bash
make run # dev server
make build # local build
make build-release # release build
make build-all # cross-compile Linux/macOS/Windows
make test # run tests
go run ./cmd/pfs -migrate # run migrations
./bin/pfs -version # check version
./scripts/release.sh # build release archives
```
## Requirements
- Go 1.22+
- MariaDB / MySQL
## macOS Gatekeeper
```bash
xattr -d com.apple.quarantine /path/to/pfs-darwin-arm64
```