1.3 KiB
1.3 KiB
Sandbox
This project can show how airmaps works on your computer.
Setup
You must have docker and docker-compose.
- Change working directory:
$ cd omim/tools/python/airmaps/sandbox
- Build airmaps service:
sandbox$ ./build.sh
- Create storage(sandbox/storage directory):
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
- Change working directory:
$ cd omim/tools/python/airmaps/sandbox
- Run all services:
sandbox$ docker-compose up
- Open http://localhost in your browser.
Note: You can see the results of airmaps working in sandbox/storage/tests.
Stopping
- Change working directory:
$ cd omim/tools/python/airmaps/sandbox
- Stop all services: Push Ctrl+C and
sandbox$ docker-compose down
Clean
Clean storage and intermediate files:
- Change working directory:
$ cd omim/tools/python/airmaps/sandbox
- Clean storage and intermediate files:
sandbox$ ./clean.sh
Remove images:
- Change working directory:
$ cd omim/tools/python/airmaps/sandbox
- Remove images:
sandbox$ docker-compose rm