OSM Wikidata Link (OWL) Map
Find a file
2024-08-28 11:19:29 +02:00
config Rename example config 2023-10-31 14:46:07 +00:00
frontend Don't run test api error in production 2024-05-04 11:16:50 +03:00
matcher Improve get_item_street_addresses 2024-06-19 14:40:14 +01:00
static Use preferred tile.openstreetmap.org URL 2023-11-01 20:58:44 +00:00
templates Add missing template. 2023-05-14 15:45:22 +00:00
tests Improve tests 2024-06-19 14:00:28 +01:00
.eslintrc.js Add .eslintrc.js 2024-05-04 09:57:32 +03:00
.gitignore update gitignore 2024-08-28 11:19:29 +02:00
create_db.py Add missing create_db.py script 2024-08-28 08:17:05 +00:00
matcher.style Add matcher style 2023-05-14 11:22:10 +00:00
notes Add a note 2023-10-31 14:38:56 +00:00
package.json package.json: Add eslint as devDependencies 2024-05-04 07:03:47 +00:00
README.md doc: README: Add more information about venv setup 2024-08-28 11:19:29 +02:00
requirements.txt Add types and docstrings + upgrade to SQLAlchmey 2 2023-11-01 20:54:19 +00:00
update.py Catch MediaWiki database timeout errors and retry 2024-06-06 13:50:16 +00:00
vite.config.js Fix frontend code location 2024-05-04 11:12:41 +03:00
web_view.py Bug fix expand_street_name 2024-06-19 14:54:24 +01:00

OWL-MAP

Setup

  • clone the project
  • install geoip and postgres from your local package manager
  • setup postgres on your machine, see e.g. https://wiki.archlinux.org/title/PostgreSQL
    • $ sudo su postgres
    • $ initdb -D /var/lib/postgres/data
  • start postgres
  • create postgres user
    • $ sudo su postgres
    • $ createuser --interactive -> owl
  • setup a venv
    • enter the venv, e.g. in pycharm
    • $ pip install -r requirements.txt
  • cp config/examply.py config/default.py
  • setup /var/lib/data/GeoLite2/GeoLite2-City.mmdb somehow
  • run 'python web_view.py'