From c4dfa48fa3df0a7e0dea593d38c4de5d469999a5 Mon Sep 17 00:00:00 2001 From: Dennis Priskorn Date: Wed, 28 Aug 2024 10:44:39 +0200 Subject: [PATCH] doc: README: Add more information about download of geoip files --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d105c90..113c22a 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,17 @@ * create postgres user * `$ sudo su postgres` * `$ createuser --interactive` -> owl +* create the db tables * 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 +* `$ cp config/example.py config/default.py` +* download id-tagging-schema + * `$ git clone https://github.com/openstreetmap/id-tagging-schema` + * adjust paths in default.py +* download geoip databases + * https://git.io/GeoLite2-City.mmdb + * `$ pacman -S geoip-database-extra` in ArchLinux or https://dl.miyuru.lk/geoip/maxmind/city/maxmind4.dat.gz + * adjust default.py +* run the tests * run 'python web_view.py'