Sign inSign up

geolabs/mapmint

By geolabs

•Updated almost 2 years ago

Image
1

2.7K

geolabs/mapmint repository overview

⁠MapMint official Docker Image

This Docker image can be used by combining the source code from the MapMint and ZOO-Project GitHub repositories.

To deploy MapMint on your local computer, you must first ensure that there is no service listening on the ports 80 and 5432. Then, once you are sure they are no service using these ports, you can use the following commands.

⁠Create a working environment

For being able to use this Docker image, you will need to download both the source code from the ZOO-Project and MapMint GitHub repository. You can find bellow the commands to setup a working startup tree.

# First clone the ZOO-Project GitHub repository
git clone https://github.com/ZOO-Project/ZOO-Project.git
cd ZOO-Project
# Then, clone the MapMint GitHub repository
git clone https://github.com/mapmint/mapmint
# Copy the file requied to load docker images
cp mapmint/docker-compose.yml .
# Create diretories and few files used at runtime
mkdir data data/share data/dirs data/maps data/public_maps tmp \
    tmp/descriptions tmp/cache
touch \
    tmp/MainDescriptionMM5f6ee5fe-0b04-11ec-97ff-0242c0a8e006.html
cp mapmint/template/data/maps/* data/maps/
# Download sample dataset and uncompress (in case you use your dataset, you may avoid the following
curl -o north_carolina.tar.bz2 \
  http://geolabs.fr/dl/north_carolina.tar.bz2
tar -xvf north_carolina.tar.bz2 -C data/share/

⁠Startup MapMint

In the previous section we described how to produce a working tree from which you will be able to start MapMint. From this directory, simply run the following:

docker-compose up

Tag summary

Content type

Image

Digest

sha256:31e241a33…

Size

629 MB

Last updated

almost 2 years ago

docker pull geolabs/mapmint