Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Application.py configurable via the command line #2

Open
lonvia opened this issue Oct 20, 2020 · 0 comments
Open

Make Application.py configurable via the command line #2

lonvia opened this issue Oct 20, 2020 · 0 comments

Comments

@lonvia
Copy link
Member

lonvia commented Oct 20, 2020

Use argparse to add command-line parsing and make the following parameters changeable via command line:

  • log level and log output file (default should go to stdout)
  • language set
  • DB connection parameters DB name, user, password, port (see Nominatim's python tools for the default parameters used there)
  • other tags to be indexed
  • connection information for elastic search (host, port, user, password)
  • name of elastic search index
  • batch size for inserting into ES index (currently called bucket size but I would suggest to rename it to 'batch')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant