docs: update CI workflow and AGENTS.md for consolidated deps

Update references to removed web/package.json:
- CI workflow: Remove 'cd web && bun install' step
- AGENTS.md: Remove web-specific dev commands (cd web && bun run dev/build)
- AGENTS.md: Update schema location to reflect domain module split
- Add Docker commands as recommended local dev approach

All dependencies now installed from root package.json.
This commit is contained in:
syntaxbullet
2026-02-12 12:21:37 +01:00
parent 6abb52694e
commit efb50916b2
2 changed files with 8 additions and 10 deletions

View File

@@ -8,11 +8,10 @@ AuroraBot is a Discord bot with a web dashboard built using Bun, Discord.js, Rea
```bash
# Development
bun --watch bot/index.ts # Run bot with hot reload
bun --hot web/src/index.ts # Run web dashboard with hot reload
bun --watch bot/index.ts # Run bot + web dashboard with hot reload
# Testing
bun test # Run all tests ( expect some tests to fail when running all at once like this due to the nature of the tests )
bun test # Run all tests
bun test path/to/file.test.ts # Run single test file
bun test --watch # Watch mode
bun test shared/modules/economy # Run tests in directory
@@ -24,9 +23,10 @@ bun run db:push # Push schema changes (Docker)
bun run db:push:local # Push schema changes (local)
bun run db:studio # Open Drizzle Studio
# Web Dashboard
cd web && bun run build # Build production web assets
cd web && bun run dev # Development server
# Docker (recommended for local dev)
docker compose up # Start bot, web, and database
docker compose up app # Start just the app (bot + web)
docker compose up db # Start just the database
```
## Project Structure
@@ -187,7 +187,7 @@ return await withTransaction(async (tx) => {
- Use `bigint` mode for Discord IDs and currency amounts
- Relations defined separately from table definitions
- Schema location: `shared/db/schema.ts`
- Schema modules: `shared/db/schema/*.ts` (users, inventory, economy, quests, moderation)
## Testing