Skip to content

EvictionLab/map-screenshot-gl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapbox GL Screenshots

Microservice based on tileserver-gl for creating screenshots of different map views from the Eviction Lab map tool based on parameters.

Setup

Build locally with docker build -t map-screenshot-gl:latest . and run with docker run -t -p 3000:3000 map-screenshot-gl:latest. You'll be able to access results at localhost:3000.

Local install

cd map-screenshot-gl
nvm install
npm config set python $(which python3)
cd src
npm install

Pushing builds to Docker Hub

https://hub.docker.com/r/hyperobjekt/map-screenshot-gl

Build and tag the image id of the local build that you want to tag and push:

docker build -t hyperobjekt/map-screenshot-gl:latest .

Push the image to Docker Hub, e.g.:

docker push hyperobjekt/map-screenshot-gl:latest

Updating the CloudFormation stack to deploy to ECS

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/update-stack.html

./deploy.sh

Notes

Links

About

Docker container serving screenshots of Mapbox GL maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •