X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7282d816c8d70fa70e199ec8e4b5b679fbaa1caa..c7d80a2cc8cacb7dba95f023c2f480d25f7bf6b1:/docs/develop/Development-Environment.md?ds=sidebyside diff --git a/docs/develop/Development-Environment.md b/docs/develop/Development-Environment.md index 1db32a6e..fd7820c6 100644 --- a/docs/develop/Development-Environment.md +++ b/docs/develop/Development-Environment.md @@ -62,6 +62,10 @@ In particular, pylint tends to have a lot of breaking changes between versions. The easiest way, to handle these Python dependencies is to run your development from within a virtual environment. +```sh +sudo apt install libsqlite3-mod-spatialite php-cli +``` + To set up the virtual environment with all necessary packages run: ```sh @@ -72,7 +76,8 @@ virtualenv ~/nominatim-dev-venv mkdocs mkdocstrings mkdocs-gen-files pytest pytest-asyncio pylint \ types-jinja2 types-markupsafe types-psutil types-psycopg2 \ types-pygments types-pyyaml types-requests types-ujson \ - types-urllib3 typing-extensions unicorn falcon + types-urllib3 typing-extensions unicorn falcon starlette \ + uvicorn mypy osmium aiosqlite ``` Now enter the virtual environment whenever you want to develop: