X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9abf2c248ed27a410b3fad92daf4392e660b1c66..3e38fd806e49a2c6665dca2cb7a9e70db77feba3:/README.md 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