Updating
This commit is contained in:
@@ -16,7 +16,6 @@ Mobile-friendly roster and lineup planning app for Little League baseball. It in
|
||||
- See pitcher availability as `Available`, `Needs Rest`, or `Unknown`
|
||||
- Generate suggested batting orders and defensive assignments
|
||||
- Manually adjust generated lineups before saving
|
||||
- Seed sample data for a quick demo
|
||||
- Placeholder auth utility for future expansion
|
||||
|
||||
## Setup
|
||||
@@ -50,30 +49,11 @@ npm run dev
|
||||
|
||||
5. Open `http://localhost:3000`.
|
||||
|
||||
## Sample Data
|
||||
|
||||
You can load sample data in two ways:
|
||||
|
||||
- Click `Load Sample Team` on the dashboard
|
||||
- Run:
|
||||
|
||||
```bash
|
||||
npm run seed
|
||||
```
|
||||
|
||||
The seed script adds:
|
||||
|
||||
- Sample players
|
||||
- Default pitching rest rules
|
||||
- Sample pitching appearances
|
||||
- One sample saved game/lineup
|
||||
|
||||
## Scripts
|
||||
|
||||
- `npm run dev` starts the development server
|
||||
- `npm run build` builds the app
|
||||
- `npm run start` runs the production build
|
||||
- `npm run seed` seeds the database if it is empty
|
||||
|
||||
## Data Models
|
||||
|
||||
|
||||
Reference in New Issue
Block a user