Installation ============ *Geocodr* is a Python application and requires Python 3.6 or higher. Use the following commands to install all dependencies and *geocodr*:: git clone https://github.com/rostock/geocodr.git cd geocodr # install dependencies pip install -r api/requirements.txt pip install -r import/requirements.txt # dependencies for running tests with pytest pip install -r api/requirements-test.txt # install geocodr API and import tools pip install -e api pip install -e import This method **links** the source directory of *geocodr* and any changes to the source code are immediately available to the *geocodr* API and import tools. .. note:: It is recommended to use `Virtualenv `_ for installation. Commands -------- *Geocodr* comes with the command line query tool ``geocodr`` and the web API ``geocodr-api``. The optional import helper provides the ``geocodr-zk`` and ``geocodr-post`` tools. Each command provides a ``--help`` option. Call ``geocodr --help`` to see if the installation was successful. Packaging --------- You can build packages for installation on a server with the following command:: (cd api && python setup.py bdist_wheel --universal) (cd import && python setup.py bdist_wheel --universal) The built packages are placed in ``{api,import}/dist`` and can be installed with ``pip install geocodr*.whl``. SolrCloud --------- *Geocodr* assumes that you already have an existing *SolrCloud* and *Apache ZooKeeper* installation. Tests ----- *Geocodr* comes with a small test suite. You can run the tests with ``pytest api``. The `geocodr-mv repository `_ contains an extensive suite of acceptance tests. These tests depend on non-public datasets, but they are a good start to write your own acceptance tests for your own data and your own configuration. Next ---- See our :doc:`tutorial` on how to get started with *geocodr.*