Refactor documentation and add new features

- Updated index.md to simplify structure and focus on task-oriented guides.
- Revised notifications.md to streamline setup instructions and improve clarity.
- Added report-error.js for structured error reporting to Discord.
- Introduced account-creation.md and configuration.md for detailed guidance on account setup and bot configuration.
- Created dashboard.md, docker.md, error-reporting.md, modes.md, running.md, scheduling.md, setup.md, troubleshooting.md, and update.md for comprehensive documentation on respective features and usage.
- Updated package-lock.json and package.json to include peer dependencies.
This commit is contained in:
2025-12-06 13:13:20 +01:00
parent a149c54013
commit 64352fa306
22 changed files with 377 additions and 3942 deletions

14
docs/docker.md Normal file
View File

@@ -0,0 +1,14 @@
# Docker
## What it does
Runs the bot in a container with bundled scheduling and browser setup.
## How to use
- Ensure `src/accounts.jsonc` and `src/config.jsonc` are present before starting.
- Run `npm run docker:compose` to build and start the container.
- View logs with `docker logs -f microsoft-rewards-bot` or the compose service name.
## Example
```bash
npm run docker:compose
```