diff --git a/README.md b/README.md index 91b4893..9a3369a 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,16 @@ PriceStore ─────────┼───────────── ```bash cd exchange-monitor-go go build -o exchange-monitor . -cp .env.example .env # edit to configure +# Edit .env to configure (token, threshold, etc.) ./exchange-monitor ``` +Or use the startup script (auto-compiles if sources changed, cleans stale port): + +```bash +./start.sh +``` + Then open [http://localhost:8888](http://localhost:8888) for the Web dashboard. ## Configuration (.env) @@ -174,7 +180,8 @@ exchange-monitor-go/ ├── dashboard.go # Web server + SSE + history buffers ├── toaster.go # Telegram notifications ├── static.go # Embedded web static files -├── .env # Local configuration +├── start.sh # Startup script (port check + build + run) +├── .env # Local configuration (TELEGRAM, API keys, thresholds) ├── exchange/ │ ├── connector.go # Generic WS connector with reconnect │ ├── binance.go # Binance bookTicker WS