Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.9 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.9 KB

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