mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
6 years ago
|
|
||
|
# South Africa
|
||
|
|
||
|
This project is configured to download/prepare/build a complete Pelias installation for South Africa.
|
||
|
|
||
|
# Setup
|
||
|
|
||
|
Please refer to the instructions at https://github.com/pelias/docker in order to install and configure your docker environment.
|
||
|
|
||
|
The minimum configuration required in order to run this project are [installing prerequisites](https://github.com/pelias/docker#prerequisites), [install the pelias command](https://github.com/pelias/docker#installing-the-pelias-command) and [configure the environment](https://github.com/pelias/docker#configure-environment).
|
||
|
|
||
|
Please ensure that's all working fine before continuing.
|
||
|
|
||
|
# Run a Build
|
||
|
|
||
|
To run a complete build, execute the following commands:
|
||
|
|
||
|
```bash
|
||
|
pelias compose pull
|
||
|
pelias elastic start
|
||
|
pelias elastic wait
|
||
|
pelias elastic create
|
||
|
pelias download all
|
||
|
pelias prepare all
|
||
|
pelias import all
|
||
|
pelias compose up
|
||
|
```
|
||
|
|
||
|
# Make an Example Query
|
||
|
|
||
|
You can now make queries against your new Pelias build:
|
||
|
|
||
|
http://localhost:4000/v1/search?text=900 park street, tshwane, south africa
|