• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / atlas-server / 12379202118

17 Dec 2024 06:31PM UTC coverage: 39.092% (-3.6%) from 42.704%
12379202118

push

github

web-flow
feat: added s3 to atlas-server (#120)

This PR adds an S3 cache for the tiles object, and redirects to it when
present.

You can test this branch locally is you have Docker, by running
`docker-compose up` (it will start MinIO, a local s3).
Then add these to your `.env`:
```
AWS_ACCESS_KEY_ID=admin
AWS_SECRET_ACCESS_KEY=password
AWS_S3_BUCKET=atlas-server
AWS_S3_REGION=us-east-1
AWS_S3_ENDPOINT=http://0.0.0.0:9000
```
Finally, build and run the server: `npm run build && npm start`.

You should see the tiles json should be stored in your local minio
(there's a browser at `http://localhost:9001/`) and the `/v1/tiles` and
`/v2/tiles` enpoint should redirect there.

155 of 211 branches covered (73.46%)

Branch coverage included in aggregate %.

1 of 373 new or added lines in 7 files covered. (0.27%)

1318 of 3557 relevant lines covered (37.05%)

6.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/modules/map/component.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc