tipogi / 2140-meetups-integration

It is an integration to dump all the meetups in the BTC Maps db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2140 meetups integrations

integration cover

A container that creates different JSON files for specific purpose:

  1. Create a global OSM map to display all the communities of 2140 meetups. The creation of each point will be based on the communities that stores the 2140 meetups data base
  2. Create individual files for each community that after BTC Maps will render in its own map. That data will be available through an API endpoint

Spin up the container

To create all the JSON files, follow the bellow steps:

  1. Build a container
docker build -t 2140-sandbox .

2.Run container

# add remove option to remove the container when exists
docker run --rm -v ./btcmaps:/usr/src/2140_geo/btcmaps -v ./leaflet:/usr/src/2140_geo/leaflet --name meetups-integration 2140-sandbox

3.Kill container

# In our case the name is meetups-integration
docker kill container_name

Docker images

The container is not implemented in a clean way and each time that we build, it creates a new image. To delete the duplicated images with <none> tag, execute that to delete:

docker images -a | grep none | awk '{ print $3; }' | xargs docker rmi  

URL

About

It is an integration to dump all the meetups in the BTC Maps db

License:GNU General Public License v3.0


Languages

Language:PHP 99.5%Language:Dockerfile 0.5%