first commit
This commit is contained in:
34
README.md
Normal file
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# EaglerTiers Local Setup
|
||||
|
||||
## Quick Start (Windows)
|
||||
|
||||
1. Open PowerShell in the project root `eaglertiers`.
|
||||
2. Run:
|
||||
|
||||
```powershell
|
||||
./run-local.ps1
|
||||
```
|
||||
|
||||
This script will:
|
||||
- start a local MariaDB instance if needed,
|
||||
- seed sample players,
|
||||
- start the API + static frontend at `http://localhost:3000`.
|
||||
|
||||
## Manual Commands
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run seed
|
||||
npm start
|
||||
```
|
||||
|
||||
Discord bot (separate terminal):
|
||||
|
||||
```bash
|
||||
npm run bot
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- `.env` already includes default local DB settings.
|
||||
- Update `DISCORD_BOT_TOKEN` in `.env` before running the bot.
|
||||
Reference in New Issue
Block a user