Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Sentinel / Landsat / CBERS serverless tile server

License

Notifications You must be signed in to change notification settings

RemotePixel/remotepixel-tiler

Repository files navigation

remotepixel-tiler

CircleCI

codecov

Sentinel / Landsat / CBERS / COGEO Serverless dynamic tiler

Bundle of landsat-tiler, sentinel-tiler, cbers-tiler and cogeo-tiler powering RemotePixel viewer.

viewer

Deployment

Requirement
  • AWS Account
  • Docker
  • npm/node + Serverless
#Clone the repo
$ git clone https://github.com/RemotePixel/remotepixel-tiler.git
$ cd remotepixel-tiler/

$ docker login

$ make package && make test

# Install serverless and plugin
$ npm install

You can deploy each tiler independantly

$ SECRET_TOKEN=mytoken cd services/landsat && sls deploy --bucket my-bucket
Note: `my-bucket` has to be in us-west-2 region

$ SECRET_TOKEN=mytoken cd services/cbers && sls deploy --stage production --bucket my-bucket
Note: `my-bucket` has to be in us-east-1 region

$ SECRET_TOKEN=mytoken  cd services/sentinel && sls deploy --bucket my-bucket 
Note: `my-bucket` has to be in eu-central-1 region

$ cd services/cogeo && sls deploy --bucket my-bucket --region us-east-1
Note: `my-bucket` has to be in the same region

API Docs:

Infos & links