X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..79836e51d63b907ef2c42a00c15b6ba9b2cd6fa9:/README.md?ds=sidebyside diff --git a/README.md b/README.md index d130074e..3b0f328a 100644 --- a/README.md +++ b/README.md @@ -27,21 +27,21 @@ can be found at nominatim.org as well. A quick summary of the necessary steps: -1. Compile Nominatim: +1. Create a Python virtualenv and install the packages: - mkdir build - cd build - cmake .. - make - sudo make install + python3 -m venv nominatim-venv + ./nominatim-venv/bin/pip install packaging/nominatim-{api,db} 2. Create a project directory, get OSM data and import: mkdir nominatim-project cd nominatim-project - nominatim import --osm-file + ../nominatim-venv/bin/nominatim import --osm-file -3. Point your webserver to the nominatim-project/website directory. +3. Start the webserver: + + ./nominatim-venv/bin/pip install uvicorn falcon + ../nominatim-venv/bin/nominatim serve License