feat: explorer API, wallet, CCIP scripts, and config refresh
- Backend REST/gateway/track routes, analytics, Blockscout proxy paths. - Frontend wallet and liquidity surfaces; MetaMask token list alignment. - Deployment docs, verification scripts, address inventory updates. Check: go build ./... under backend/ (pass). Made-with: Cursor
This commit is contained in:
@@ -10,11 +10,12 @@ Before running the Explorer API and indexer in production:
|
||||
See `deployment/ENVIRONMENT_TEMPLATE.env` for all required variables.
|
||||
|
||||
2. **Run database migrations**
|
||||
Apply migrations before starting the API and indexer, e.g.:
|
||||
Apply migrations before starting the API and indexer:
|
||||
```bash
|
||||
psql -U explorer -d explorer -f backend/database/migrations/0010_track_schema.up.sql
|
||||
export DB_PASSWORD='<your DB password>'
|
||||
bash scripts/run-migration-0010.sh
|
||||
```
|
||||
Or use your migration runner (e.g. `go run backend/database/migrations/migrate.go --up` if applicable).
|
||||
`scripts/run-migration-0010.sh` auto-detects standalone explorer DB vs shared Blockscout DB. Do **not** apply `backend/database/migrations/0010_track_schema.up.sql` directly to a shared Blockscout database.
|
||||
|
||||
3. **Configure DB and RPC**
|
||||
Ensure `DB_*`, `RPC_URL`, `WS_URL`, and `CHAIN_ID` are set correctly for the target environment.
|
||||
|
||||
Reference in New Issue
Block a user