Back to Organicmaps

Sandbox

tools/python/airmaps/sandbox/README.md

2026.05.04-13-android1.3 KB
Original Source

Sandbox

This project can show how airmaps works on your computer.

Setup

You must have docker and docker-compose.

  1. Change working directory:
sh
$ cd omim/tools/python/airmaps/sandbox
  1. Build airmaps service:
sh
sandbox$ ./build.sh
  1. Create storage(sandbox/storage directory):
sh
sandbox$ ./create_storage.sh

Note: May be you need sudo, because ./create_storage.sh to try change an owner of sandbox/storage/tests directory.

Usage

Starting

  1. Change working directory:
sh
$ cd omim/tools/python/airmaps/sandbox
  1. Run all services:
sh
sandbox$ docker-compose up
  1. Open http://localhost in your browser.

Note: You can see the results of airmaps working in sandbox/storage/tests.

Stopping

  1. Change working directory:
sh
$ cd omim/tools/python/airmaps/sandbox
  1. Stop all services: Push Ctrl+C and
sh
sandbox$ docker-compose down

Clean

Clean storage and intermediate files:

  1. Change working directory:
sh
$ cd omim/tools/python/airmaps/sandbox
  1. Clean storage and intermediate files:
sh
sandbox$ ./clean.sh

Remove images:

  1. Change working directory:
sh
$ cd omim/tools/python/airmaps/sandbox
  1. Remove images:
sh
sandbox$ docker-compose rm