summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..c2f8900
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,16 @@
+Get GeoIP City database
+-----------------------
+
+sudo apt install geoipupdate
+sudo cp /usr/share/doc/geoipupdate/examples/GeoIP.conf.default /etc/GeoIP.conf
+sudo mkdir -p /usr/local/share/GeoIP
+sudo geoipupdate -v
+
+Usage
+-----------------------
+
+-geodb <path>
+ path to the GeoLite2-City database (default is "/var/lib/GeoIP/GeoLite2-City.mmdb")
+-port <port>
+ port where the service listens on (default is 9001)
+